$ git clone -n https://gitee.com/happy_orange/python-pyroute2.git /var/lib/mock/dist-an23-build-255933-63690/root/chroot_tmpdir/scmroot/python-pyroute2 Cloning into '/var/lib/mock/dist-an23-build-255933-63690/root/chroot_tmpdir/scmroot/python-pyroute2'... $ git reset --hard aa43ae6417dfed439094d54f98bf956e514d3ee9 HEAD is now at aa43ae6 init package