Matheus Richard
a6ce40df49
feat(git): introduce `gwipe` alias ( #12302 )
...
`gpristine` might be too much on several occasions, given that it removes all untracked files. This might not be ideal because it will delete important things like environment files and encryption keys.
With that in mind, this commit introduces `gwipe` as a way to get a "clean slate" but still have your dev environment working.
2 years ago
Harkesh
6f215cd692
feat(git): add `grf` alias ( #12176 )
2 years ago
Mohammad Al Zouabi
8be4789bbb
feat(git): add `greva` and `grevc` aliases ( #12042 )
2 years ago
Mladen Plavsic
cb7ff9fb14
feat(git): add `gcann!` alias ( #12041 )
2 years ago
B. Hamonangan
ec74eb91bd
feat(git): add `gcB` alias ( #12116 )
2 years ago
Marc Cornellà
b6bb133f23
fix(git): fix repository detection in `gccd` function ( #12023 )
...
Fixes #12023
2 years ago
Marc Cornellà
ff6dac56a2
fix(git): fix smart cd to cloned directory in `gccd` function
2 years ago
Marc Cornellà
f79647dba5
fix(git): fix check in `gbds` function
2 years ago
Zeeshan
207d29b716
fix(git)!: standardize `git pull --rebase` aliases ( #11224 )
...
BREAKING CHANGE: The alias `gup` for `git pull --rebase` and its derivatives
are replaced by `gpr` for standardization. This means the previous aliases will
no longer be available after a few months. Meanwhile, the original aliases are
still working, with a deprecation notice.
See https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/README.md#deprecated-aliases
for the full list of deprecated aliases.
Fixes #11104
Closes #11224
Co-authored-by: Marc Cornellà <marc@mcornella.com>
2 years ago
Marc Cornellà
8152dc673b
fix(git): move squash-merged branch deletion from `gbda` to `gbds` function ( #11991 )
2 years ago
Marc Cornellà
f939768751
fix(git): fix fallback to develop branch if `master` not found ( #11966 )
2 years ago
Adam Johnson
b1821a24f0
fix(git): restore showing patch in `gsts` ( #11951 )
2 years ago
tobi1805
24b2600558
feat(git): delete squash-merged branches in `gbda` ( #11948 )
2 years ago
Carlo Sala
0e1e877ea9
fix(git)!: remove `gt` alias
...
BREAKING CHANGE: `gt` alias clashes with Graphite CLI
(https://graphite.dev ). See https://github.com/ohmyzsh/ohmyzsh/pull/11910#issuecomment-1736340910
3 years ago
Adam Johnson
4fb5d02db9
feat(git): add reset aliases `grhk` and `grhs` ( #11896 )
3 years ago
Adam Johnson
e2b855341b
feat(git): add tag aliases `gt` and `gta` ( #11910 )
...
Co-authored-by: hasecilu <hasecilu@protonmail.com>
Co-authored-by: Rik <gitaarik@posteo.net>
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
3 years ago
Adam Johnson
bca62f78e2
feat(git): add branch rename alias `gbm` ( #11909 )
...
Co-authored-by: Gabriel Akinyosoye <gabrielfemi799@gmail.com>
3 years ago
Adam Johnson
aaa74964a8
fix(git): remove `--text` from `gsts` ( #11897 )
3 years ago
Adam Johnson
331f3c8b2e
feat(git): add bisect aliases `gbsn` and `gbso` ( #11869 )
3 years ago
Adam Johnson
bae577d6b2
fix(git)!: remove `-b` from `blame` alias ( #11864 )
3 years ago
Zhang Visper
c92af18c36
fix(git): some aliases under non-english LANG ( #11855 )
3 years ago
Miguel Hargreaves Pimenta
33c0de7add
refactor(git): sort git aliases alphabetically ( #9743 )
3 years ago
Devraj Mehta
8cbe98469d
fix(git): remove color codes from some aliases ( #11770 )
3 years ago
Ihor
f5cb9a6c97
fix(git): `gunwipall` now only resets once ( #11758 )
...
Closes #11750
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
3 years ago
Ihor
115cee1701
feat(git): add `gunwipall` function ( #11725 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
3 years ago
Tom D
fb4213c34f
perf(git): improve `gunwip` alias ( #11714 )
3 years ago
Aleks
ad99f0c164
feat(git): add merge squash alias (`gms`) ( #10937 )
3 years ago
Francesco Ilario
8c808da23c
feat(git): add aliases for gone branches ( #9250 )
...
Closes #8457
Closes #9973
3 years ago
guenthgr
cc73a929f6
feat(git): add `gpod` alias
...
Closes #11501
3 years ago
Carlo Sala
45571bfa03
fix(git): `gpristine` requires two `--force` flags
...
Fixes #11483
3 years ago
Unnit Metaliya
d48cbb82b1
feat(git)!: add `force-if-includes` flag ( #11481 )
...
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
Closes #11388
BREAKING CHANGE: `gpf` and `gpsupf` now have the `--force-if-includes` flag if git version is greater than 2.30. It will make force pushes more safer. See https://stackoverflow.com/questions/65837109/when-should-i-use-git-push-force-if-includes
3 years ago
Taehyun Hwang
39525e5ec3
feat(git): add `gpsupf` alias ( #11268 )
3 years ago
Jack DeVries
35454190f6
feat(git): use verbose flags in aliases
...
Closes #11244
Closes #11246
Closes #10101
Closes #11380
3 years ago
ZigZagT
280c99dae6
feat(git): accept `default` and `mainline` as main branches ( #11431 )
3 years ago
Ruslan Tursunov
5ab517361a
feat(git): add `gcn` alias ( #10836 )
3 years ago
Carlo Sala
0145d744a9
fix(git): escape first hyphen in `gunwip`
3 years ago
Hoàng
ac0924930d
feat(git): add aliases for `worktree` ( #10079 )
3 years ago
Carlo Sala
80fdbc9b91
fix(git): remove unused escape chars
...
Closes #11176
3 years ago
Wei Huang
e857cc8cb9
feat(git): alias `gluc` to sync with current branch in upstream ( #11101 )
4 years ago
Steven Pitts
e9e8c6b54d
feat(git): add `gupom` and `gupomi` aliases ( #10261 )
...
Co-authored-by: Steven Pitts <spitts@teikametrics.com>
4 years ago
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