$ git clone -n https://gitee.com/src-anolis-os/yp-tools /var/lib/mock/dist-an8.7-build-137825-51149/root/chroot_tmpdir/scmroot/yp-tools Cloning into '/var/lib/mock/dist-an8.7-build-137825-51149/root/chroot_tmpdir/scmroot/yp-tools'... $ git reset --hard origin/a8 HEAD is now at 127f85f spec: bump .0.2