$ git clone -n https://gitee.com/fundawang/libvirt.git /var/lib/mock/dist-an23-build-285092-64769/root/chroot_tmpdir/scmroot/libvirt Cloning into '/var/lib/mock/dist-an23-build-285092-64769/root/chroot_tmpdir/scmroot/libvirt'... $ git fetch origin 3f0f48a5e9e7b839c10a7fae2e8ffd9183ff6e32:KOJI_FETCH_HEAD From https://gitee.com/fundawang/libvirt * [new ref] 3f0f48a5e9e7b839c10a7fae2e8ffd9183ff6e32 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3f0f48a 9.5.0