$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/file-roller.git /var/lib/mock/dist-an7-build-33698-16169/root/chroot_tmpdir/scmroot/file-roller Cloning into '/var/lib/mock/dist-an7-build-33698-16169/root/chroot_tmpdir/scmroot/file-roller'... $ git reset --hard origin/a7 HEAD is now at f080e26 import file-roller-3.28.1-2.el7.src.rpm