$ git clone -n https://gitee.com/src-opencloudos-rpms/libgphoto2.git /var/lib/mock/dist-oc9-build-42200-14591/root/chroot_tmpdir/scmroot/libgphoto2 Cloning into '/var/lib/mock/dist-oc9-build-42200-14591/root/chroot_tmpdir/scmroot/libgphoto2'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libgphoto2 * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a7b5f57 import libgphoto2-2.5.30-3.tl4