$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/bash-completion.git /var/lib/mock/dist-an7-updates-build-42761-21665/root/chroot_tmpdir/scmroot/bash-completion Cloning into '/var/lib/mock/dist-an7-updates-build-42761-21665/root/chroot_tmpdir/scmroot/bash-completion'... $ git reset --hard origin/a7 HEAD is now at 8d9a555 update to bash-completion-2.1-8.el7.src.rpm