$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/rsync.git /var/lib/mock/dist-an7-updates-build-43330-21689/root/chroot_tmpdir/scmroot/rsync Cloning into '/var/lib/mock/dist-an7-updates-build-43330-21689/root/chroot_tmpdir/scmroot/rsync'... $ git reset --hard origin/a7 HEAD is now at bed0b72 update to rsync-3.1.2-10.el7.src.rpm