$ git clone -n https://gitee.com/src-anolis-os/emacs.git /var/lib/mock/dist-an7_9-updates-build-224913-62267/root/chroot_tmpdir/scmroot/emacs Cloning into '/var/lib/mock/dist-an7_9-updates-build-224913-62267/root/chroot_tmpdir/scmroot/emacs'... $ git reset --hard origin/a7 HEAD is now at a454af3 update to emacs-24.3-23.el7.src.rpm