$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/cockpit.git /var/lib/mock/dist-an8.4-build-19320-8415/root/chroot_tmpdir/scmroot/cockpit 正克隆到 '/var/lib/mock/dist-an8.4-build-19320-8415/root/chroot_tmpdir/scmroot/cockpit'... $ git reset --hard origin/a8 HEAD 现在位于 d4162b0 update to cockpit-238.2-1.el8.src.rpm