$ git clone -n https://gitee.com/src-opencloudos-rpms/elfutils.git /var/lib/mock/dist-oc8-build-38403-12435/root/chroot_tmpdir/scmroot/elfutils Cloning into '/var/lib/mock/dist-oc8-build-38403-12435/root/chroot_tmpdir/scmroot/elfutils'... $ git reset --hard origin/oc8 HEAD is now at 580ef3d import elfutils-0.188-3.tl3