$ git clone -n https://gitee.com/opencloudos-stream/kobo.git /var/lib/mock/dist-oc9-epol-build-68434-46987/root/chroot_tmpdir/scmroot/kobo Cloning into '/var/lib/mock/dist-oc9-epol-build-68434-46987/root/chroot_tmpdir/scmroot/kobo'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/kobo * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 487bbb9 !1 upgrade to 0.30.1 Merge pull request !1 from cunshunxia/master