$ git clone -n https://gitee.com/src-opencloudos-rpms/crash-gcore-command.git /var/lib/mock/dist-oc8-build-38192-12311/root/chroot_tmpdir/scmroot/crash-gcore-command Cloning into '/var/lib/mock/dist-oc8-build-38192-12311/root/chroot_tmpdir/scmroot/crash-gcore-command'... $ git reset --hard origin/oc8 HEAD is now at 10a3220 import crash-gcore-command-1.6.3-3.tl3