$ git clone -n https://gitee.com/src-anolis-sig/lifsea-release.git /var/lib/mock/dist-lifsea8-build-76936-40255/root/chroot_tmpdir/scmroot/lifsea-release Cloning into '/var/lib/mock/dist-lifsea8-build-76936-40255/root/chroot_tmpdir/scmroot/lifsea-release'... $ git reset --hard origin/lifsea HEAD is now at 1d2822a compat with anolis