Skip to content

Commit

Permalink
Add commands (#28)
Browse files Browse the repository at this point in the history
* Add gsu: git submodule update
* Add gpan: git branch -a -v --no-merged
* Add glom: git log --online --decorate --color master..
  • Loading branch information
MartinDelille authored and jhillyerd committed Nov 13, 2019
1 parent cc48b1b commit 1167027
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $ omf install https://github.com/jhillyerd/plugin-git
| ------------ | ---------------------------------------------------- |
| gb | `git branch -vv` |
| gba | `git branch -a -v` |
| gban | `git branch -a -v --no-merged` |
| gbda | delete all branches merged in current HEAD |
| ggsup | git set upstream to origin/_current-branch_ |

Expand Down Expand Up @@ -93,6 +94,7 @@ $ omf install https://github.com/jhillyerd/plugin-git
| glo | `git log --oneline --decorate --color` |
| gloo | `git log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short` |
| glog | `git log --oneline --decorate --color --graph` |
| glom | `git log --oneline --decorate --color master..` |
| glp | git log at requested pretty level |
| gwch | `git whatchanged -p --abbrev-commit --pretty=medium` |

Expand Down Expand Up @@ -180,6 +182,7 @@ $ omf install https://github.com/jhillyerd/plugin-git
| gsr | `git svn rebase` |
| gss | `git status -s` |
| gst | `git status` |
| gsu | `git submodule update` |
| gunignore | `git update-index --no-assume-unchanged` |


Expand Down
3 changes: 3 additions & 0 deletions init.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ abbr -a ga git add
abbr -a gaa git add --all
abbr -a gapa git add --patch
abbr -a gba git branch -a -v
abbr -a gban git branch -a -v --no-merged
abbr -a gb git branch -vv
abbr -a gbs git bisect
abbr -a gbsb git bisect bad
Expand Down Expand Up @@ -45,6 +46,7 @@ abbr -a glgg git log --graph --max-count=10
abbr -a glgga git log --graph --decorate --all
abbr -a glo git log --oneline --decorate --color
abbr -a glog git log --oneline --decorate --color --graph
abbr -a glom git log --oneline --decorate --color master..
abbr -a gloo "git log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short"
abbr -a gm git merge
abbr -a gmt git mergetool --no-prompt
Expand Down Expand Up @@ -75,6 +77,7 @@ abbr -a gsta git stash
abbr -a gstd git stash drop
abbr -a gstp git stash pop
abbr -a gsts git stash show --text
abbr -a gsu git submodule update
abbr -a gunignore git update-index --no-assume-unchanged
abbr -a gup git pull --rebase
abbr -a gwch git whatchanged -p --abbrev-commit --pretty=medium
Expand Down

0 comments on commit 1167027

Please sign in to comment.