$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/rpmlint.git /var/lib/mock/dist-an7-build-33051-16169/root/chroot_tmpdir/scmroot/rpmlint Cloning into '/var/lib/mock/dist-an7-build-33051-16169/root/chroot_tmpdir/scmroot/rpmlint'... $ git reset --hard origin/a7 HEAD is now at b0856d0 import rpmlint-1.5-4.el7.src.rpm