$ git clone -n https://src.fedoraproject.org/rpms/python-matplotlib.git /var/lib/mock/f33-build-155400-43375/root/chroot_tmpdir/scmroot/python-matplotlib Cloning into '/var/lib/mock/f33-build-155400-43375/root/chroot_tmpdir/scmroot/python-matplotlib'... $ git reset --hard 3fa499ba45223d5a6b630dde7537a024971792d0 HEAD is now at 3fa499b Update to latest version.