$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/dotnet.git /var/lib/mock/dist-an8.4-build-19993-8787/root/chroot_tmpdir/scmroot/dotnet Cloning into '/var/lib/mock/dist-an8.4-build-19993-8787/root/chroot_tmpdir/scmroot/dotnet'... $ git reset --hard origin/a8 Updating files: 100% (12/12) Updating files: 100% (12/12), done. HEAD is now at 292c15d update to dotnet-2.1.522-2.el8.src.rpm