$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/flex.git /var/lib/mock/dist-an7-build-31136-15689/root/chroot_tmpdir/scmroot/flex Cloning into '/var/lib/mock/dist-an7-build-31136-15689/root/chroot_tmpdir/scmroot/flex'... $ git reset --hard origin/a7 HEAD is now at d6fc104 import flex-2.5.37-6.el7.src.rpm