$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/cvs.git /var/lib/mock/dist-an7-build-27490-15169/root/chroot_tmpdir/scmroot/cvs Cloning into '/var/lib/mock/dist-an7-build-27490-15169/root/chroot_tmpdir/scmroot/cvs'... $ git reset --hard origin/a7 HEAD is now at 60eb96a import cvs-1.11.23-35.el7.src.rpm