$ git clone -n https://gitee.com/opencloudos-stream/mm-common.git /var/lib/mock/dist-ocs23-build-33780-1562/root/chroot_tmpdir/scmroot/mm-common Cloning into '/var/lib/mock/dist-ocs23-build-33780-1562/root/chroot_tmpdir/scmroot/mm-common'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/mm-common * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 214c5e0 !1 update to 1.0.5 Merge pull request !1 from abushwang/master