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
ad99f0c1
Unverified
Commit
ad99f0c1
authored
Apr 08, 2023
by
Aleks
Committed by
GitHub
Apr 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(git): add merge squash alias (`gms`) (#10937)
parent
e906a313
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 @
ad99f0c1
...
@@ -116,6 +116,7 @@ plugins=(... git)
...
@@ -116,6 +116,7 @@ plugins=(... git)
| gloga | git log --oneline --decorate --graph --all |
| gloga | git log --oneline --decorate --graph --all |
| glp | git log --pretty=
\<
format
\>
|
| glp | git log --pretty=
\<
format
\>
|
| gm | git merge |
| gm | git merge |
| gms | git merge --squash |
| gmom | git merge origin/$(git_main_branch) |
| gmom | git merge origin/$(git_main_branch) |
| gmtl | git mergetool --no-prompt |
| gmtl | git mergetool --no-prompt |
| gmtlvim | git mergetool --no-prompt --tool=vimdiff |
| gmtlvim | git mergetool --no-prompt --tool=vimdiff |
...
...
plugins/git/git.plugin.zsh
View file @
ad99f0c1
...
@@ -237,6 +237,7 @@ alias gmtl='git mergetool --no-prompt'
...
@@ -237,6 +237,7 @@ alias gmtl='git mergetool --no-prompt'
alias
gmtlvim
=
'git mergetool --no-prompt --tool=vimdiff'
alias
gmtlvim
=
'git mergetool --no-prompt --tool=vimdiff'
alias
gmum
=
'git merge upstream/$(git_main_branch)'
alias
gmum
=
'git merge upstream/$(git_main_branch)'
alias
gma
=
'git merge --abort'
alias
gma
=
'git merge --abort'
alias
gms
=
"git merge --squash"
alias
gp
=
'git push'
alias
gp
=
'git push'
alias
gpd
=
'git push --dry-run'
alias
gpd
=
'git push --dry-run'
...
...
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