$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/gnome-session.git /var/lib/mock/dist-an7-build-27855-15204/root/chroot_tmpdir/scmroot/gnome-session Cloning into '/var/lib/mock/dist-an7-build-27855-15204/root/chroot_tmpdir/scmroot/gnome-session'... $ git reset --hard origin/a7 HEAD is now at ad99ae4 import gnome-session-3.28.1-7.el7.src.rpm