$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/chrome-gnome-shell.git /var/lib/mock/dist-an7-build-27334-15156/root/chroot_tmpdir/scmroot/chrome-gnome-shell Cloning into '/var/lib/mock/dist-an7-build-27334-15156/root/chroot_tmpdir/scmroot/chrome-gnome-shell'... $ git reset --hard origin/a7 HEAD is now at 05af0e9 import chrome-gnome-shell-10.1-4.el7.src.rpm