$ git clone -n https://gitee.com/fundawang/xhost.git /var/lib/mock/dist-an23-build-190422-60785/root/chroot_tmpdir/scmroot/xhost Cloning into '/var/lib/mock/dist-an23-build-190422-60785/root/chroot_tmpdir/scmroot/xhost'... $ git fetch origin 2f2420fb1f66a141ad09f4ce6d9313444246c208:KOJI_FETCH_HEAD From https://gitee.com/fundawang/xhost * [new ref] 2f2420fb1f66a141ad09f4ce6d9313444246c208 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2f2420f 1.0.9