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