$ git clone -n https://src.fedoraproject.org/rpms/python-rasterio.git /var/lib/mock/f33-build-580414-66211/root/chroot_tmpdir/scmroot/python-rasterio Cloning into '/var/lib/mock/f33-build-580414-66211/root/chroot_tmpdir/scmroot/python-rasterio'... $ git reset --hard 42eb824dbf5392588c7f47fc2000b06956d5f767 HEAD is now at 42eb824 Update to latest version.