Skip to content

Instantly share code, notes, and snippets.

@seansawyer
Created January 15, 2016 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seansawyer/1bec85bd29f22e63cf14 to your computer and use it in GitHub Desktop.
Save seansawyer/1bec85bd29f22e63cf14 to your computer and use it in GitHub Desktop.
Cool Shell Things
# Meta Man
man man
# When your last commit has some garbage author info - maybe you committed in a VM or something
git commit --amend --reset-author
# Sudo do the last thing I said
sudo !!
# Remove an item from your history - maybe you typed your password by accident
history -d 42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment