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