$ git clone -n https://gitee.com/src-opencloudos-rpms/xfsprogs /var/lib/mock/dist-oc8-build-64378-16536/root/chroot_tmpdir/scmroot/xfsprogs Cloning into '/var/lib/mock/dist-oc8-build-64378-16536/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 a11b97d import xfsprogs-5.0.0-12.tl3.1