Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
combined
(merge:
3802bcc
eeaef1b
)
Merge branch 'master' of git://github.com/revans/bash-it
author
zerobearing2
<david@zerobearing.com>
Thu, 7 Oct 2010 00:51:30 +0000
(17:51 -0700)
committer
zerobearing2
<david@zerobearing.com>
Thu, 7 Oct 2010 00:51:30 +0000
(17:51 -0700)
1
2
plugins/git.plugin.bash
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
plugins/git.plugin.bash
index
c3682f5
,
13ce234
..
909a90e
---
1
/
plugins/git.plugin.bash
---
2
/
plugins/git.plugin.bash
+++ b/
plugins/git.plugin.bash
@@@
-15,9
-14,21
+14,23
@@@
alias gb='git branch
alias gba='git branch -a'
alias gcount='git shortlog -sn'
alias gcp='git cherry-pick'
+alias gco='git checkout'
+alias gexport='git archive --format zip --output'
+ case $OSTYPE in
+ linux*)
+ alias gd='git diff | vim -R -'
+ ;;
+ darwin*)
+ alias gd='git diff | mate'
+ ;;
+ darwin*)
+ alias gd='git diff'
+ ;;
+ esac
+
+
+
function git-help() {
echo "Git Custom Aliases Usage"
echo