-
Pull all remote git branches to local
Used this when moving away from a git repository that it wasn’t possibly to transfer. Unfortunately the repository had a lot branches that I wanted to keep a copy of just in case. So I used the following bash script to pull them all down locally so I had a backup. Just replace username and…
-
Remove folder and its contents from git/GitHub’s history
https://stackoverflow.com/a/17824718