$ git clone -n https://gitee.com/src-opencloudos-rpms/gedit.git /var/lib/mock/dist-oc9-build-69875-47354/root/chroot_tmpdir/scmroot/gedit Cloning into '/var/lib/mock/dist-oc9-build-69875-47354/root/chroot_tmpdir/scmroot/gedit'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gedit * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 873cdff import gedit-42.2-5.tl4