$ git clone -n https://gitee.com/src-opencloudos-rpms/libgta.git /var/lib/mock/dist-oc9-epol-build-53561-14768/root/chroot_tmpdir/scmroot/libgta Cloning into '/var/lib/mock/dist-oc9-epol-build-53561-14768/root/chroot_tmpdir/scmroot/libgta'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libgta * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ef86171 import libgta-1.2.1-2.tl4