$ git clone -n https://gitee.com/gcdota930915/rust.git /var/lib/mock/dist-an23.3-build-415088-72844/root/chroot_tmpdir/scmroot/rust Cloning into '/var/lib/mock/dist-an23.3-build-415088-72844/root/chroot_tmpdir/scmroot/rust'... $ git fetch origin 2aa07ec81326e2eaa8d1d313f5d2cdaf009f985a:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/rust * [new ref] 2aa07ec81326e2eaa8d1d313f5d2cdaf009f985a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2aa07ec update rust.spec.