$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/autogen.git /var/lib/mock/dist-an7-build-27221-15145/root/chroot_tmpdir/scmroot/autogen Cloning into '/var/lib/mock/dist-an7-build-27221-15145/root/chroot_tmpdir/scmroot/autogen'... $ git reset --hard origin/a7 HEAD is now at 6bb53cb import autogen-5.18-5.el7.src.rpm