$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/cockpit-composer.git /var/lib/mock/dist-an8.4-build-19945-8762/root/chroot_tmpdir/scmroot/cockpit-composer Cloning into '/var/lib/mock/dist-an8.4-build-19945-8762/root/chroot_tmpdir/scmroot/cockpit-composer'... $ git reset --hard origin/a8 HEAD is now at 88a7864 update to cockpit-composer-29.1-1.el8.src.rpm