$ git clone -n https://gitee.com/src-anolis-os/gnu-efi.git /var/lib/mock/dist-an7-build-61105-33842/root/chroot_tmpdir/scmroot/gnu-efi Cloning into '/var/lib/mock/dist-an7-build-61105-33842/root/chroot_tmpdir/scmroot/gnu-efi'... $ git reset --hard origin/a7 HEAD is now at 32a7db6 import gnu-efi-3.0.8-2.el7.src.rpm