$ git clone -n https://gitee.com/os-newbie/ssar_1.git /var/lib/mock/dist-an8.7-build-230328-62415/root/chroot_tmpdir/scmroot/ssar_1 Cloning into '/var/lib/mock/dist-an8.7-build-230328-62415/root/chroot_tmpdir/scmroot/ssar_1'... $ git reset --hard e19b46b19614530124179869c25c9b31cf6fc892 HEAD is now at e19b46b update to 1.0.4