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