$ git clone -n https://gitee.com/hongwei-qin/virt.git /var/lib/mock/dist-an8.10-build-462157-73726/root/chroot_tmpdir/scmroot/virt Cloning into '/var/lib/mock/dist-an8.10-build-462157-73726/root/chroot_tmpdir/scmroot/virt'... $ git fetch origin 4b1e994d09fcaf6f2399af0321cb8e4baae3ed40:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/virt * [new ref] 4b1e994d09fcaf6f2399af0321cb8e4baae3ed40 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4b1e994 update to an8.10.0