$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/sanlock.git /var/lib/mock/dist-an7-build-34646-16270/root/chroot_tmpdir/scmroot/sanlock Cloning into '/var/lib/mock/dist-an7-build-34646-16270/root/chroot_tmpdir/scmroot/sanlock'... $ git reset --hard origin/a7 HEAD is now at 90dfcf1 rebrand:Modify vendor url and add anolis macros dist in spec file