Skip to content

vraravam/git_scripts

Repository files navigation

git_scripts

These are some scripts that I use constantly when dealing with multiple git repositories.

To use, them, simply add the cloned folder to the PATH env var!

run_all.sh

Moved permanently to my dotfiles repo

clean_from_git_history


Script to 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, e.g., git-delete-history path1 path2

cleanup_all_gems


Script to cleanup all installed gems (if you do not want to simply delete the gem install directory)

delete_merged_branches


After merging local changes into branches and pushing them to the respective remote-tracking branches, you might want to clean your local machine. This script is used to ensure the first is done and then will cleanly delete the synced branches from local.

file_sizes


Script to see how much disk space each folder/item in your git repo is holding

About

Handy scripts when working with [multiple] git repos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published