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