$ git clone -n https://gitee.com/dengxiewei/python-ptyprocess.git /var/lib/mock/dist-an23-build-247718-63214/root/chroot_tmpdir/scmroot/python-ptyprocess Cloning into '/var/lib/mock/dist-an23-build-247718-63214/root/chroot_tmpdir/scmroot/python-ptyprocess'... $ git reset --hard 7ffac72c60ecefcdcc7bbed46f43d717cadf5c2a HEAD is now at 7ffac72 Initial package from upstream