$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/logrotate.git /var/lib/mock/dist-an7-build-32225-15945/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an7-build-32225-15945/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard origin/a7 HEAD is now at f7849b6 import logrotate-3.8.6-17.el7.src.rpm