$ git clone -n https://gitee.com/opencloudos-stream/samba.git /var/lib/mock/dist-ocs23-build-20851-1041/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-ocs23-build-20851-1041/root/chroot_tmpdir/scmroot/samba'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/samba * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 64ff779 !1 upgrade to 4.18.4 Merge pull request !1 from cunshunxia/master