$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/kcm-gtk.git /var/lib/mock/dist-an7-build-31541-15749/root/chroot_tmpdir/scmroot/kcm-gtk Cloning into '/var/lib/mock/dist-an7-build-31541-15749/root/chroot_tmpdir/scmroot/kcm-gtk'... $ git reset --hard origin/a7 HEAD is now at 30c5307 import kcm-gtk-0.5.3-14.el7.src.rpm