$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/protobuf-c.git /var/lib/mock/dist-an8.4-build-20529-8938/root/chroot_tmpdir/scmroot/protobuf-c Cloning into '/var/lib/mock/dist-an8.4-build-20529-8938/root/chroot_tmpdir/scmroot/protobuf-c'... $ git reset --hard origin/a8 HEAD is now at c6ce59c update to protobuf-c-1.3.0-6.el8.src.rpm