Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
e857cc8c
Unverified
Commit
e857cc8c
authored
Aug 10, 2022
by
Wei Huang
Committed by
GitHub
Aug 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(git): alias `gluc` to sync with current branch in upstream (#11101)
parent
ff2b0e48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
README.md
plugins/git/README.md
+1
-0
git.plugin.zsh
plugins/git/git.plugin.zsh
+1
-0
No files found.
plugins/git/README.md
View file @
e857cc8c
...
@@ -184,6 +184,7 @@ plugins=(... git)
...
@@ -184,6 +184,7 @@ plugins=(... git)
| gupom | git pull --rebase origin $(git_main_branch) |
| gupom | git pull --rebase origin $(git_main_branch) |
| gupomi | git pull --rebase=interactive origin $(git_main_branch) |
| gupomi | git pull --rebase=interactive origin $(git_main_branch) |
| glum | git pull upstream $(git_main_branch) |
| glum | git pull upstream $(git_main_branch) |
| gluc | git pull upstream $(git_current_branch) |
| gwch | git whatchanged -p --abbrev-commit --pretty=medium |
| gwch | git whatchanged -p --abbrev-commit --pretty=medium |
| gwip | git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign -m "--wip--
[
skip ci
]
" |
| gwip | git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign -m "--wip--
[
skip ci
]
" |
| gam | git am |
| gam | git am |
...
...
plugins/git/git.plugin.zsh
View file @
e857cc8c
...
@@ -310,6 +310,7 @@ alias gupav='git pull --rebase --autostash -v'
...
@@ -310,6 +310,7 @@ alias gupav='git pull --rebase --autostash -v'
alias
gupom
=
'git pull --rebase origin $(git_main_branch)'
alias
gupom
=
'git pull --rebase origin $(git_main_branch)'
alias
gupomi
=
'git pull --rebase=interactive origin $(git_main_branch)'
alias
gupomi
=
'git pull --rebase=interactive origin $(git_main_branch)'
alias
glum
=
'git pull upstream $(git_main_branch)'
alias
glum
=
'git pull upstream $(git_main_branch)'
alias
gluc
=
'git pull upstream $(git_current_branch)'
alias
gwch
=
'git whatchanged -p --abbrev-commit --pretty=medium'
alias
gwch
=
'git whatchanged -p --abbrev-commit --pretty=medium'
alias
gwip
=
'git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign -m "--wip-- [skip ci]"'
alias
gwip
=
'git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign -m "--wip-- [skip ci]"'
...
...
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