$ git clone -n https://gitee.com/src-opencloudos-rpms/gjs /var/lib/mock/dist-oc8-build-57918-15795/root/chroot_tmpdir/scmroot/gjs Cloning into '/var/lib/mock/dist-oc8-build-57918-15795/root/chroot_tmpdir/scmroot/gjs'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gjs * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1687e8d import gjs-1.56.2-6.tl3