Permalink
Browse files

Attempting, with my poor scripting skills, to add a command that list…

…s the Git Convenience commands in the terminal.
  • Loading branch information...
benseven committed Sep 5, 2012
1 parent b31df21 commit ffc45b435b57b0efd206ac471a336bb404a628ad
Showing with 18 additions and 0 deletions.
  1. +18 −0 git-shortcuts.sh
View
@@ -21,3 +21,21 @@ function goops {
git commit -a --amend
gs
}
+
+function gwut {
+ #!/bin/bash
+ echo "
+Git Convenience Shortcuts:
+- - - - - - - - - - - - - -
+gwut - List all Git Convenience commands.
+gs - git status
+gaa - git add --all - Add all changes (including untracto staging)
+gc "Message" - Commit all changes (except untracked) message
+goops - Add changes to previous commit & edit comessage
+gp - Pull then push - does not use --rebase (read 'About this fork')
+gup - Pull (not via --rebase - see 'About this fork')
+glog - Decorated & graphed log
+gdiff - A word-diff of changes
+gclean - Compress & garbage collect data store
+"
+}

0 comments on commit ffc45b4

Please sign in to comment.