Skip to content

Instantly share code, notes, and snippets.

View lolindrath's full-sized avatar

Andy Williams lolindrath

View GitHub Profile
@lolindrath
lolindrath / gist:4454638
Last active January 8, 2020 19:57 — forked from mdb/gist:4288296
How to Amend a Git Commit
# View the log to find the commit you want to edit:
git log
# Quit out of the log
q
# Rebase from the commit you want to edit, in interactive mode:
git rebase SOME_COMMIT_ID^ --interactive
# This will open an interactive menu in Vi
@lolindrath
lolindrath / about.md
Created December 27, 2012 16:29 — forked from fogus/about.md