$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/python-kmod.git /var/lib/mock/dist-an7-build-29984-15452/root/chroot_tmpdir/scmroot/python-kmod Cloning into '/var/lib/mock/dist-an7-build-29984-15452/root/chroot_tmpdir/scmroot/python-kmod'... $ git reset --hard origin/a7 HEAD is now at 250d424 import python-kmod-0.9-4.el7.src.rpm