Kris Kalavantavanich
e93378aacd
[plugins/git] Updated git clone alias ( #6893 )
...
* Updated git clone alias
`git clone --recursive` has been deprecated in favor of `--recurse-submodules`.
See: https://stackoverflow.com/questions/3796927
8 years ago
Joel Wallis Jucá
652356b9b9
git: add the `git show` alias `gsh` ( #5591 )
8 years ago
Peter Bittner
035d78120c
Add Git alias for `git diff --staged` ( #7064 )
8 years ago
Tushar Tiwari
1691cf8a99
Add alias for git add --verbose ( #3167 )
...
Add alias `gav='git add -v'`
fixes #6793
8 years ago
Michal Juriš
b6ca933a02
Add alias for 'git rebase develop' ( #6006 )
8 years ago
Matteo Giaccone
0808c0f6ef
Remove default for git reset ( #4993 )
...
The command will do the same as before, but now you can also specify
a path.
Example:
grh branch-name
grhh tag-name
8 years ago
Chuan Jin
2642f0a8b4
Add git log with date ( #6789 )
8 years ago
George Kaklamanos
acacfec924
Remove unneeded option in glol and glola ( #6059 )
8 years ago
Mahmoud Hossam
ed85147e6e
Rename clashing ag alias ( #5849 )
...
* Fix ubuntu ag alias clashing with the silver searcher
* Add aliases for git apply and git merge --abort
8 years ago
Jonathan Channon
5486aa21eb
Added --force-with-lease method ( #5025 )
8 years ago
Tomas Chmelevskij
1700c948b4
Add chaced word diff ( #6378 )
8 years ago
Felipe Guilherme
456341fd69
Add git alias for staging tracked files ( #5178 )
...
Although `gaa` (git add --all) is cool, it stages every file, tracked or
not, if it is not on .gitignore.
Sometimes we want to just stage everything we are working on, that is
already tracked. For that reason, 'gau' can save us some time.
9 years ago
Jason Kurian
3477ff2527
feat: no CI on WIP commits ( #5643 )
9 years ago
Marc Cornellà
7f9b773350
Fix compdef commands in git plugin
...
The command `compdef command=git` returns an error in some cases, the
appropriate command is `compdef _git command`.
Fixes #5442
10 years ago
savimat
6d975f7258
Add alias for signed git commit with message ( #5390 )
...
Signed-off-by: Mat Munn <mat@savi.com.au>
10 years ago
Allan Lewis
c713407f90
git.plugin.zsh: Don't run Git hooks when making a WIP commit ( #4751 )
...
When making a WIP commit, we generally just want to save the state of the
current branch temporarily, maybe because we want to push our work for backup
purposes, or change branch to work on something else. Therefore, it's generally
undesirable to run Git hooks, which might do things like run linters, because
we probably don't care if our WIP has lint errors.
10 years ago
Luis Ferrer-Labarca
e9793fc199
Added 'gbd' alias for 'git branch -d' ( #5417 )
10 years ago
Marc Cornellà
298b63513d
git plugin: remove `format:' from --pretty flag
...
Changes gke, glol and glola aliases.
Fixes #5362
10 years ago
Simon
b9c3e862c7
Add alias for checking out develop branch ( #5307 )
10 years ago
Marc Cornellà
76821f506c
Rename `gh` alias (git help) to `ghh`
...
This conflicts with several tools, including NodeGH [1] and
scm_breeze [2].
[1] https://github.com/robbyrussell/oh-my-zsh/issues/5313
[2] https://github.com/robbyrussell/oh-my-zsh/issues/5321
Related: #5130
10 years ago
Emmanuel Isaac
9981214437
Add git alias to clear entire stash ( #5306 )
...
Using the "gstc" alias runs "git stash clear"
that clears every stash index
10 years ago
Dzianis Dashkevich
95371afdd8
Add gcpa and gcpc aliases to git plugin ( #5271 )
10 years ago
Simen Bekkhus
ae21102030
(git): Add gpsup alias ( #5287 )
10 years ago
Marc Cornellà
7654b16b39
[git plugin] Fix indentation and organise aliases
10 years ago
Cédric Malard
f5537241a4
Fix gbda alias to support `color.ui = always` + exclude dev branches ( #4304 )
...
* Fix gbda alias to support git config color.ui = always
* Update gbda alias to exclude develop and dev branches
10 years ago
Marc Cornellà
c62442f999
Fix gfg function completion definition
...
Related: #5179
10 years ago
wangzengdi
5fa4d9d760
add alias gh=git help
10 years ago
Wasif Hasan Baig
bdc82114d0
Changd `alias gsta='git stash'` to `alias gsta='git stash save'`.
10 years ago
Ivan Mironov
d2712d3180
Add alias for oneline git tree with --all option
10 years ago
Wanbok Choi
615af65087
Add 'gcn!' for the '--no-edit' option. ( #4830 )
...
Remove the '-s' option from 'gcan!'
Add 'gcans!'. It is the same as the current 'gcan! -s'.
10 years ago
Filippo Valsorda
52737b1828
git.plugin: remove the conflicting gvt alias
...
See FiloSottile/gvt#19 and FiloSottile/gvt#4
10 years ago
atk91
d853ec4b62
Closes #4727
10 years ago
Andrew Janke
9f552130bd
Move current_branch() from git plugin to core lib/git.zsh
...
Fixes #4085 : core -> plugin dependency issue.
Rename it to git_current_branch for clarity that it's git-specific.
Update all plugins that were calling it to use new name.
Fix variable leaks by making more variables in lib/git.zsh local.
Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
10 years ago
Satoshi Ohmori
7597bf805e
Add an alias for upstream
11 years ago
Bruno Volcov
252078dd6c
add alias to sort by version
11 years ago
Michael SALIHI
8e74f7c1aa
Add alias for print latest tag name
11 years ago
Matteo Giaccone
a2b574bc9e
git plugin: make gclean safer, introduce gpristine
11 years ago
Zhiye Li
efb04d66a0
add git alias `gcam` - git commit -am
...
add git alias `gcam` - `git commit -am`
11 years ago
ncanceill
d24196cfbd
git plugin: fix ggl to avoid empty string
...
see
https://github.com/robbyrussell/oh-my-zsh/pull/2790#issuecomment-112716330
11 years ago
Arnaud Rinquin
ed6645a282
Fix plugin/git ggpull and ggpush backward compatibility
...
Current `ggpush` is `git push origin` instead of `git push origin $(current_branch)`
Same for `ggpull`
11 years ago
ncanceill
f1a43daa36
git plugin: new/changed aliases
...
gaa was brought back by popular demand — see #3535
gap was replaced with gapa — see #3682
gdc was replaced with gdca — see #3977
11 years ago
ncanceill
8eb31a6f9a
git plugin: fix ggpnp when called without argument
...
also allow multiple arguments for ggp and ggl aliases
11 years ago
ncanceill
f513999a4d
git plugin: make b local in gg* functions
...
because it leaked, and led to #3991
11 years ago
ncanceill
6ff96dab36
git plugin: fix error msg in gwip alias
...
because git rm will fail when no files were deleted
11 years ago
ncanceill
6c29041af7
git plugin: global var for git command
...
due to issues like #3962
until a proper plugin-loading system is implemented
11 years ago
ncanceill
a570f4b7f3
git plugin: bring back olg gg aliases
...
by popular demand, see #3972
11 years ago
ncanceill
5b75cc7880
Many updates to git plugin (see #2790 )
11 years ago
Tejas Bubane
8cb97d6f22
Add alias for git add --all
11 years ago
Robby Russell
5e25913178
Revert "Exit early from git plugin if not in git repo."
12 years ago
AJ Henriques
f0d5cfdc33
add git difftool alias (gdt)
12 years ago