$ git clone -n https://gitee.com/src-opencloudos-rpms/xfsprogs /var/lib/mock/dist-oc8-build-58171-15980/root/chroot_tmpdir/scmroot/xfsprogs Cloning into '/var/lib/mock/dist-oc8-build-58171-15980/root/chroot_tmpdir/scmroot/xfsprogs'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/xfsprogs * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 91a31af import xfsprogs-5.0.0-12.tl3