Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
39525e5e
Unverified
Commit
39525e5e
authored
Jan 28, 2023
by
Taehyun Hwang
Committed by
GitHub
Jan 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(git): add `gpsupf` alias (#11268)
parent
b0bffcaf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
README.md
plugins/git/README.md
+1
-0
git.plugin.zsh
plugins/git/git.plugin.zsh
+2
-2
No files found.
plugins/git/README.md
View file @
39525e5e
...
@@ -89,6 +89,7 @@ plugins=(... git)
...
@@ -89,6 +89,7 @@ plugins=(... git)
| ggsup | git branch --set-upstream-to=origin/$(git_current_branch) |
| ggsup | git branch --set-upstream-to=origin/$(git_current_branch) |
| ggu | git pull --rebase origin $(current_branch) |
| ggu | git pull --rebase origin $(current_branch) |
| gpsup | git push --set-upstream origin $(git_current_branch) |
| gpsup | git push --set-upstream origin $(git_current_branch) |
| gpsupf | git push --set-upstream origin $(git_current_branch) --force-with-lease |
| ghh | git help |
| ghh | git help |
| gignore | git update-index --assume-unchanged |
| gignore | git update-index --assume-unchanged |
| gignored | git ls-files -v
\|
grep "^
[
[:lower:
]
]" |
| gignored | git ls-files -v
\|
grep "^
[
[:lower:
]
]" |
...
...
plugins/git/git.plugin.zsh
View file @
39525e5e
...
@@ -199,6 +199,7 @@ alias ggpush='git push origin "$(git_current_branch)"'
...
@@ -199,6 +199,7 @@ alias ggpush='git push origin "$(git_current_branch)"'
alias
ggsup
=
'git branch --set-upstream-to=origin/$(git_current_branch)'
alias
ggsup
=
'git branch --set-upstream-to=origin/$(git_current_branch)'
alias
gpsup
=
'git push --set-upstream origin $(git_current_branch)'
alias
gpsup
=
'git push --set-upstream origin $(git_current_branch)'
alias
gpsupf
=
'git push --set-upstream origin $(git_current_branch) --force-with-lease'
alias
ghh
=
'git help'
alias
ghh
=
'git help'
...
@@ -341,4 +342,4 @@ function grename() {
...
@@ -341,4 +342,4 @@ function grename() {
fi
fi
}
}
unset
git_version
unset
git_version
\ No newline at end of file
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