$ git clone -n https://gitee.com/src-anolis-os/nspr.git /var/lib/mock/dist-an7-updates-build-95195-44210/root/chroot_tmpdir/scmroot/nspr Cloning into '/var/lib/mock/dist-an7-updates-build-95195-44210/root/chroot_tmpdir/scmroot/nspr'... $ git reset --hard 7cf8c4d8fed5b52a0dae012c1c902fef4944033f HEAD is now at 7cf8c4d fix dependency