$ git clone -n https://gitee.com/gcdota930915/samba.git /var/lib/mock/dist-an23.3-build-418530-72876/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an23.3-build-418530-72876/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin f37738a0d41aab7f4167867f3ffdd13294e57df7:KOJI_FETCH_HEAD From https://gitee.com/gcdota930915/samba * [new ref] f37738a0d41aab7f4167867f3ffdd13294e57df7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f37738a fix