Added 'git_pull_then_push' alias

This commit is contained in:
Nathan Broadbent
2011-10-20 08:35:02 +08:00
parent ebc791afe8
commit 63e5904cee
2 changed files with 2 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ git_fetch_alias="gf"
git_fetch_and_rebase_alias="gfr"
git_pull_alias="gpl"
git_push_alias="gps"
git_pull_then_push_alias="gpls"
git_status_original_alias="gst"
git_status_short_alias="gss"
git_add_all_alias="gaa"

View File

@@ -28,6 +28,7 @@ _alias $git_fetch_alias='git fetch'
_alias $git_fetch_and_rebase_alias='git fetch && git rebase'
_alias $git_pull_alias='git pull'
_alias $git_push_alias='git push'
_alias $git_pull_then_push_alias="git pull && git push"
_alias $git_status_original_alias='git status' # (Standard git status)
_alias $git_status_short_alias='git status -s'
_alias $git_remote_alias='git remote -v'