mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-12 12:21:00 +01:00
Migrated from cheatsheet v6
@@ -21,3 +21,16 @@ Dynamic access to current branch name with the current_branch function.
|
|||||||
|
|
||||||
* @git pull origin $(current_branch)@
|
* @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