Skip to content
Scripts for some useful git commands
Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Git Extras

This repository contains several useful scripts for Git.

I didn't wrote the scripts. I found them online and did little modifications. The licenses for those are in the files.


Search for files larger than the requested. The example below searches for files larger than 2MB.

./git-large-files 2


Permanently delete files/folders from your git repository. To use it, cd to your repository's root and then run the script with a list of paths you want to delete like this:

./git-delete-history path1 path2
You can’t perform that action at this time.