$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/sudo.git /var/lib/mock/dist-an7-build-30392-15498/root/chroot_tmpdir/scmroot/sudo Cloning into '/var/lib/mock/dist-an7-build-30392-15498/root/chroot_tmpdir/scmroot/sudo'... $ git reset --hard origin/a7 HEAD is now at 4dae27c update to sudo-1.8.23-4.el7_7.2.src.rpm