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