$ git clone -n https://gitee.com/src-opencloudos-rpms/emacs.git /var/lib/mock/dist-oc8-build-38536-12512/root/chroot_tmpdir/scmroot/emacs Cloning into '/var/lib/mock/dist-oc8-build-38536-12512/root/chroot_tmpdir/scmroot/emacs'... $ git reset --hard origin/oc8 HEAD is now at 1f771a9 import emacs-26.1-10.tl3.2.2