$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mythes-ca.git /var/lib/mock/dist-an7-build-40082-20007/root/chroot_tmpdir/scmroot/mythes-ca Cloning into '/var/lib/mock/dist-an7-build-40082-20007/root/chroot_tmpdir/scmroot/mythes-ca'... $ git reset --hard origin/a7 HEAD is now at d3703d4 import mythes-ca-1.5.0-9.el7.src.rpm