$ git clone -n https://gitee.com/src-anolis-os/acpica-tools.git /var/lib/mock/dist-an7-build-60923-33836/root/chroot_tmpdir/scmroot/acpica-tools Cloning into '/var/lib/mock/dist-an7-build-60923-33836/root/chroot_tmpdir/scmroot/acpica-tools'... $ git reset --hard origin/a7 HEAD is now at 8f9fe46 import acpica-tools-20160527-3.el7.src.rpm