Skip to content

Instantly share code, notes, and snippets.

View MikeLarned's full-sized avatar

Mike Larned MikeLarned

View GitHub Profile
--reset after .gitignore change
git rm -r --cached .
git add .
git commit -a -m "M"
--prune remote
git fetch -p
--branch delete safe (ensures changes branch b are already in the current branch)