$ git clone -n https://gitee.com/src-anolis-os/nss-altfiles.git /var/lib/mock/dist-an23-build-190205-60783/root/chroot_tmpdir/scmroot/nss-altfiles Cloning into '/var/lib/mock/dist-an23-build-190205-60783/root/chroot_tmpdir/scmroot/nss-altfiles'... $ git reset --hard c6f3ddeb7407316362c7cf1b7b764f2db90e4eac HEAD is now at c6f3dde import nss-altfiles-2.18.1-12.el8.src.rpm