$ git clone -n https://gitee.com/anolis/tone-agent.git /var/lib/mock/dist-an8.8-build-288206-64887/root/chroot_tmpdir/scmroot/tone-agent Cloning into '/var/lib/mock/dist-an8.8-build-288206-64887/root/chroot_tmpdir/scmroot/tone-agent'... $ git reset --hard 0f14fa7cad197354bb0e70e32d6e6ab41ced91f7 HEAD is now at 0f14fa7 spec $ git lfs pull