$ git clone -n https://gitee.com/src-anolis-sig/ssar.git /var/lib/mock/dist-an7-extend-build-109803-44212/root/chroot_tmpdir/scmroot/ssar Cloning into '/var/lib/mock/dist-an7-extend-build-109803-44212/root/chroot_tmpdir/scmroot/ssar'... $ git reset --hard origin/a7 HEAD is now at 7471a0d fix ssar.spec