$ git clone -n https://gitee.com/opencloudos-stream/mm-common.git /var/lib/mock/dist-ocs23-build-43047-2059/root/chroot_tmpdir/scmroot/mm-common Cloning into '/var/lib/mock/dist-ocs23-build-43047-2059/root/chroot_tmpdir/scmroot/mm-common'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/mm-common * [new ref] HEAD -> 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