$ git clone -n https://gitee.com/wency_cn/guestfs-tools_1770942260.git /var/lib/mock/dist-an23-build-514341-75110/root/chroot_tmpdir/scmroot/guestfs-tools_1770942260 Cloning into '/var/lib/mock/dist-an23-build-514341-75110/root/chroot_tmpdir/scmroot/guestfs-tools_1770942260'... $ git fetch origin 12487e23f7003ba380c8e4f0798e076b1fd58ea5:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/guestfs-tools_1770942260 * [new ref] 12487e23f7003ba380c8e4f0798e076b1fd58ea5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 12487e2 Update code from upstream