$ git clone -n https://gitee.com/fundawang/samba.git /var/lib/mock/dist-an23-build-315229-67535/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an23-build-315229-67535/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin 661106dbbad02cb63dc4f2d3269124e3d946a9e1:KOJI_FETCH_HEAD From https://gitee.com/fundawang/samba * [new ref] 661106dbbad02cb63dc4f2d3269124e3d946a9e1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 661106d 4.18.8