$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/accountsservice.git /var/lib/mock/dist-an7-updates-build-42743-21665/root/chroot_tmpdir/scmroot/accountsservice Cloning into '/var/lib/mock/dist-an7-updates-build-42743-21665/root/chroot_tmpdir/scmroot/accountsservice'... $ git reset --hard origin/a7 HEAD is now at 89062e5 update to accountsservice-0.6.50-7.el7.src.rpm