$ git clone -n https://gitee.com/src-opencloudos-rpms/fence-agents /var/lib/mock/dist-oc8-build-57878-15781/root/chroot_tmpdir/scmroot/fence-agents Cloning into '/var/lib/mock/dist-oc8-build-57878-15781/root/chroot_tmpdir/scmroot/fence-agents'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/fence-agents * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at db47e9c import fence-agents-4.2.1-121.tl3