Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
d6945e2d
Commit
d6945e2d
authored
Jun 11, 2013
by
Michiel Missotten
Browse files
Adding a rebase option to git alias.
parent
5d6a06bd
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/git/git.plugin.zsh
View file @
d6945e2d
...
@@ -95,6 +95,8 @@ function current_repository() {
...
@@ -95,6 +95,8 @@ function current_repository() {
# these aliases take advantage of the previous function
# these aliases take advantage of the previous function
alias
ggpull
=
'git pull origin $(current_branch)'
alias
ggpull
=
'git pull origin $(current_branch)'
compdef
ggpull
=
git
compdef
ggpull
=
git
alias
ggpur
=
'git pull --rebase origin $(current_branch)'
compdef
ggpur
=
git
alias
ggpush
=
'git push origin $(current_branch)'
alias
ggpush
=
'git push origin $(current_branch)'
compdef
ggpush
=
git
compdef
ggpush
=
git
alias
ggpnp
=
'git pull origin $(current_branch) && git push origin $(current_branch)'
alias
ggpnp
=
'git pull origin $(current_branch) && git push origin $(current_branch)'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment