$ git clone -n https://src.fedoraproject.org/rpms/python-rasterio.git /var/lib/mock/f31-build-117280-34485/root/chroot_tmpdir/scmroot/python-rasterio Cloning into '/var/lib/mock/f31-build-117280-34485/root/chroot_tmpdir/scmroot/python-rasterio'... $ git reset --hard a940a8ce64decaf6833d9932511af0f409506576 HEAD is now at a940a8c Update to latest version.