$ git clone -n https://gitee.com/src-anolis-os/acl.git /var/lib/mock/dist-an23-sw8a-build-454077-73616/root/chroot_tmpdir/scmroot/acl Cloning into '/var/lib/mock/dist-an23-sw8a-build-454077-73616/root/chroot_tmpdir/scmroot/acl'... $ git reset --hard 7385d3a329e993bb431125a80b8b121383f390c5 HEAD is now at 7385d3a update spec file