$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/sssd.git /var/lib/mock/dist-an8_4-build-27062-15046/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-an8_4-build-27062-15046/root/chroot_tmpdir/scmroot/sssd'... $ git reset --hard origin/a8 HEAD is now at 3b563e8 update to sssd-2.4.0-9.el8_4.2.src.rpm