$ git clone -n https://git.cclinux.org/stage/rpms/python-ptyprocess.git /var/lib/mock/dist-circle8-build-34996-6002/root/chroot_tmpdir/scmroot/python-ptyprocess Cloning into '/var/lib/mock/dist-circle8-build-34996-6002/root/chroot_tmpdir/scmroot/python-ptyprocess'... $ git reset --hard b24c6bde89bc59dd1166e485acea394adc5df7d1 HEAD is now at b24c6bd import python-ptyprocess-0.5.2-4.el8