$ git clone -n https://gitee.com/src-anolis-os/aqute-bnd.git /var/lib/mock/dist-an7-build-60744-33772/root/chroot_tmpdir/scmroot/aqute-bnd Cloning into '/var/lib/mock/dist-an7-build-60744-33772/root/chroot_tmpdir/scmroot/aqute-bnd'... $ git reset --hard origin/a7 HEAD is now at 9d59570 import aqute-bnd-0.0.363-11.el7.src.rpm