$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/dotnet.git /var/lib/mock/dist-an8_4-build-25794-14671/root/chroot_tmpdir/scmroot/dotnet Cloning into '/var/lib/mock/dist-an8_4-build-25794-14671/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 5083e86 update to dotnet-2.1.524-1.el8_4.src.rpm