$ git clone -n https://gitee.com/src-opencloudos-rpms/libisofs.git /var/lib/mock/dist-oc9-build-58318-16463/root/chroot_tmpdir/scmroot/libisofs Cloning into '/var/lib/mock/dist-oc9-build-58318-16463/root/chroot_tmpdir/scmroot/libisofs'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libisofs * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6304f60 import libisofs-1.5.6-2.tl4