$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/accountsservice.git /var/lib/mock/dist-an7-build-27124-15141/root/chroot_tmpdir/scmroot/accountsservice Cloning into '/var/lib/mock/dist-an7-build-27124-15141/root/chroot_tmpdir/scmroot/accountsservice'... $ git reset --hard origin/a7 HEAD is now at f018c1e update to accountsservice-0.6.50-6.el7_7.src.rpm