$ git clone -n https://gitee.com/src-opencloudos-rpms/samba /var/lib/mock/dist-oc8-build-57107-15237/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc8-build-57107-15237/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/samba * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aec4448 import samba-4.17.5-3.tl3