$ git clone -n https://gitee.com/src-opencloudos-rpms/elfutils.git /var/lib/mock/dist-oc8-build-30373-8989/root/chroot_tmpdir/scmroot/elfutils Cloning into '/var/lib/mock/dist-oc8-build-30373-8989/root/chroot_tmpdir/scmroot/elfutils'... $ git reset --hard origin/oc8 HEAD is now at 4b0e6f7 import elfutils-0.187-4.oc8