Skip to content

Instantly share code, notes, and snippets.

@jsmith
Last active July 10, 2018 21:19
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 jsmith/fbd5285d43dce3dea070971ad154b5f1 to your computer and use it in GitHub Desktop.
Save jsmith/fbd5285d43dce3dea070971ad154b5f1 to your computer and use it in GitHub Desktop.
Useful Commands
# Deletes all stale remote-tracking branches under <name>. These stale branches have
# already been removed from the remote repository referenced by <name>, but are still
# locally available in “remotes/<name>”.
git remote prune origin
# ctrl-e = go to end of line
# ctrl-a = go to start of line
# ctrl-k = Kill
# ctrl-u = Kill backwards
# ctrl-w = Kill word backwards
# ctrl-y = yank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment