$ git clone -n https://gitee.com/src-opencloudos-rpms/google-gson.git /var/lib/mock/dist-oc9-build-69962-47367/root/chroot_tmpdir/scmroot/google-gson Cloning into '/var/lib/mock/dist-oc9-build-69962-47367/root/chroot_tmpdir/scmroot/google-gson'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/google-gson * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8c0c219 import google-gson-2.9.0-3.tl4