$ git clone -n https://gitee.com/os-newbie/src-ssar.git /var/lib/mock/dist-an8.6-build-108151-45681/root/chroot_tmpdir/scmroot/src-ssar Cloning into '/var/lib/mock/dist-an8.6-build-108151-45681/root/chroot_tmpdir/scmroot/src-ssar'... $ git reset --hard cb98025c23fed2b0487f8b487c44ec44e2a8c0d3 HEAD is now at cb98025 Release ssar-1.0.3 RPM package