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