Marc Cornellà
9c84c344d7
fix: disable `log.showSignature` in `git log` calls
4 years ago
Markus Hofbauer
58478d0888
feat(git): Add alias for rebasing to origin/main-branch ( #10445 )
4 years ago
Luka Markušić
6ac1ff6905
fix(git): fix directory parse from URL in `gccd` ( #10276 )
5 years ago
Michael Fryar
1c9a64ece6
feat(git): add `gswm` and `gswd` aliases ( #9897 )
...
Co-authored-by: Nathaniel Young <nathanielyoung95070@gmail.com>
5 years ago
Carlo Sala
bf7c1b160d
fix(git)!: rename `gdu` alias to `gdup` ( #10263 )
...
BREAKING CHANGE: the `gdu` alias has been renamed to `gdup` to avoid a
conflict with `go disk usage` (https://github.com/dundee/gdu ).
5 years ago
fanuch
714399a7c3
feat(git): add `gccd` alias to clone and cd into git repository ( #8220 )
...
Fixes #8216
Closes #8220
Co-authored-by: Nelson Estevão <nelsonmestevao@gmail.com>
5 years ago
Nikolas Garofil
adef0e6081
feat(git): run `gitk` in the background in `gk` and `gke` aliases ( #9657 )
5 years ago
Claas Augner
130f35fcb2
feat(git): add `gdu` alias to diff against upstream ( #8721 )
5 years ago
Marc Cornellà
5a4159cd29
fix(git)!: rename `git mergetool` aliases to `gmtl*` ( #9154 )
...
BREAKING CHANGE: the `gmt` alias conflicts with the Generic Mapping Tools command.
For that, the `gmt` alias has been renamed to `gmtl`, and `gmtvim` has been renamed to
`gmtlvim` for consistency.
Fixes #9154
5 years ago
Neil Girdhar
a5850d441b
feat(git): change from commiter to author in `git log` aliases ( #9670 )
5 years ago
Vitaly Polonetsky
53b54f5faa
feat(git): guess main branch name also from remotes ( #10158 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
wl2776
0c590aba74
fix(git): fix `gbda` alias when there are no merged branches ( #10005 )
5 years ago
Max Eisner
ab58594173
feat(git): add `develop` branch name detection ( #9881 )
5 years ago
Nick Revin
08751210e3
feat(git): Add aliases for 'git commit -S -s [-m]' ( #7616 )
...
I thought it would be useful to add these aliases.
There are already aliases for `git commit -S` and `git commit -s` but there is none for both simultaneously =)
5 years ago
Lasse Peters
3ea66642e8
feat(git): Add alias for 'git checkout --recurse-submodules' ( #9958 )
5 years ago
Daniel Wu
9bdbe08aa2
feat(plugins): add gpr alias for /git pull -rebase/ which is easier to remember ( #9964 )
5 years ago
Babak K. Shandiz
d646884add
feat(git): add aliases `gcas` and `gcasm` for commit with sign-off ( #8881 )
5 years ago
Marc Cornellà
2b1d412279
fix(git): add `push` or `save` to `gstu` alias ( #9766 )
...
Fixes #9766
5 years ago
John Delgado
040aadf7c4
feat(git): add `grbo` alias for `git rebase --onto` ( #8088 )
5 years ago
Peter Babič
0f6aa0182c
feat(git): add grst alias for `git restore --staged` ( #8932 )
...
Closes #8932
5 years ago
Joseph Heyburn
e2f2489a66
fix(git): silently fail in `git_main_branch` if not in a git repo ( #9484 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
5 years ago
Alisson B. Santos
51772732f5
feat(git): support trunk branches in `git_main_branch` ( #9417 )
5 years ago
Marc Cornellà
c549387745
git: fix version check
6 years ago
Fabian Bonk
d81b4ac9f2
git: run gfa with --jobs=10 (fetch remotes in parallel) ( #9268 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Marc Cornellà
c99f3c50fa
git: go back to previous main branch detection logic
...
Fixes #9114
6 years ago
Marc Cornellà
83f6194929
git: change docs for git_main_branch
...
Also remove unnecesary dramatic remark
6 years ago
Marc Cornellà
55a98fc06d
git: better algorithm to decide what's the main branch
...
Fixes #9103
Co-authored-by: Yufan You <ouuansteve@gmail.com>
6 years ago
Marc Cornellà
1db79f97f5
git: use `master` if it exists, otherwise use `main`
...
See https://github.com/ohmyzsh/ohmyzsh/pull/9049#issuecomment-654537347
Co-authored-by: Yufan You <ouuansteve@gmail.com>
6 years ago
Adam Vandover
3178334a2d
git: change main branch naming scheme ( #9049 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Tvrtko Majstorović
255ef8d587
git: add alias for git diff excluding lock files ( #8935 )
6 years ago
larumbe
77b409d5c2
git: add convenience aliases for `git apply` and `git am` ( #8563 )
6 years ago
David
a25efd1e31
git: exclude devel branch from list in gbda alias ( #8957 )
6 years ago
Mikael Andersson Wigander
d8f674cc8e
git: exclude 'development' in gdba alias ( #8902 )
6 years ago
Jean-Yves Rivallan
831089a375
git: make the gpristine alias remove untracked git repos ( #8697 )
6 years ago
Ujwal Dhakal
e8609b857c
git: add `grename` to rename a local branch and in the origin remote ( #8622 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Roman
aa4146a9a4
git: add alias for git stash --include-untracked ( #8617 )
6 years ago
Marc Cornellà
093b56a7d7
git: fix gtl alias argument
...
Fixes the error `no matches found` because the argument is not quoted.
See https://github.com/robbyrussell/oh-my-zsh/pull/7629#issuecomment-531151821
7 years ago
Ryan Styrczula
df9cf72396
plugins/git: Fix `gbda` trying to delete worktree branches
...
Git learned to add a `+` in front of branches that are
checked out in other worktrees.
See: 745f681289/Documentation/RelNotes/2.23.0.txt (L252-L256)
7 years ago
Julien Janvier
de3b14cf69
git: add aliases for git switch and restore ( #8089 )
7 years ago
SomeDer
f992d434ec
git: add git revert alias ( #7841 )
...
* git: add `alias grev="git revert"`
* Swapping double for single quotes
Matching the conventions in the plugin
7 years ago
Marc Cornellà
4ad4a81657
git: clean up plugin file and delete current_repository function
...
Closes #6329
7 years ago
Marc Cornellà
7824dc637d
git: use is-at-least to test for git version
...
Fixes #7754
7 years ago
Marc Cornellà
b31106b341
git: minor syntax fix
7 years ago
Marc Cornellà
1bd72f588c
Update to inline conditional syntax
7 years ago
Asatur Meltonyan
046d49f782
git: add 'gtl' alias to list tags matching a pattern ( #7629 )
...
1. List the tags that match the pattern(s) passed through the argument.
2. Displays the first line of the annotation message along with the tag, or the line of the first commit message if the tag is not annotated.
3. Sorts and displays tags in descending order.
7 years ago
Marc Cornellà
831fba4ee4
Revert "git: delete branches in `gbda` only if there are any ( #6079 )" ( #7724 )
...
This reverts commit 0e0789fb7a .
7 years ago
Marc Cornellà
93cbc1614c
git: use interactive mode in gclean
...
Fixes #7716
7 years ago
Simen Bekkhus
4b82b86064
git: add `--no-gpg-sign` to gwip ( #6031 )
7 years ago
Jakub Chábek
0e0789fb7a
git: delete branches in `gbda` only if there are any ( #6079 )
...
It doesn't make sense to run `git branch -d $BRANCH` if the `$BRANCH` is empty.
7 years ago
Marc Cornellà
f6a9a0a498
git: fix grt on path with spaces
...
Fixes #7682
7 years ago