$ git clone -n https://gitee.com/src-anolis-dde/fpc-srpm-macros.git /var/lib/mock/dist-an8.7-build-129069-46250/root/chroot_tmpdir/scmroot/fpc-srpm-macros Cloning into '/var/lib/mock/dist-an8.7-build-129069-46250/root/chroot_tmpdir/scmroot/fpc-srpm-macros'... $ git reset --hard origin/a8 HEAD is now at be5a0fc init package