$ git clone -n https://gitee.com/fundawang/samba.git /var/lib/mock/dist-an23-build-332793-69610/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an23-build-332793-69610/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin a72c292add02ba7673664866899ae325e0b7609a:KOJI_FETCH_HEAD From https://gitee.com/fundawang/samba * [new ref] a72c292add02ba7673664866899ae325e0b7609a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a72c292 4.18.9