mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-01-18 00:13:10 +01:00
Migrated from cheatsheet v6
@@ -20,4 +20,17 @@ Git:
|
||||
Dynamic access to current branch name with the current_branch function.
|
||||
|
||||
* @git pull origin $(current_branch)@
|
||||
* @grb publish $(current_branch) origin@
|
||||
* @grb publish $(current_branch) origin@
|
||||
|
||||
Helpful aliases for common git tasks:
|
||||
* @g@ - git
|
||||
* @gst@ - git status
|
||||
* @gl@ - git pull
|
||||
* @gup@ - git fetch && git rebase
|
||||
* @gp@ - git push
|
||||
* @gd@ - git diff | mate
|
||||
* @gdv@ - git diff -w "$@" | vim -R -
|
||||
* @gc@ - git commit -v
|
||||
* @gca@ - git commit -v -a
|
||||
* @gb@ - git branch
|
||||
* @gba@ - git branch -a
|
||||
|
||||
Reference in New Issue
Block a user