$ git clone -n https://gitee.com/src-opencloudos-rpms/fence-agents /var/lib/mock/dist-oc8-build-32077-9543/root/chroot_tmpdir/scmroot/fence-agents Cloning into '/var/lib/mock/dist-oc8-build-32077-9543/root/chroot_tmpdir/scmroot/fence-agents'... $ git reset --hard origin/oc8 HEAD is now at d4306c5 import fence-agents-4.2.1-103.oc8