$ git clone -n https://gitee.com/src-opencloudos-rpms/gutenprint.git /var/lib/mock/dist-oc9-build-70030-47378/root/chroot_tmpdir/scmroot/gutenprint Cloning into '/var/lib/mock/dist-oc9-build-70030-47378/root/chroot_tmpdir/scmroot/gutenprint'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gutenprint * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9e35586 import gutenprint-5.3.4-5.tl4