$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/file.git /var/lib/mock/dist-an7-build-27646-15189/root/chroot_tmpdir/scmroot/file Cloning into '/var/lib/mock/dist-an7-build-27646-15189/root/chroot_tmpdir/scmroot/file'... $ git reset --hard origin/a7 HEAD is now at 8952788 update to file-5.11-35.el7.src.rpm