Commit graph

125 commits

Author SHA1 Message Date
Allan Lewis
114ec3420c 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.
2016-09-30 13:45:28 +02:00
Luis Ferrer-Labarca
9699f997bf Added 'gbd' alias for 'git branch -d' (#5417) 2016-09-19 19:50:16 -07:00
Marc Cornellà
d8470b68e1 git plugin: remove `format:' from --pretty flag
Changes gke, glol and glola aliases.

Fixes #5362
2016-09-05 10:56:18 +02:00
Simon
2bf027c4c1 Add alias for checking out develop branch (#5307) 2016-08-21 19:46:37 +02:00
Marc Cornellà
8872092886 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
2016-08-20 23:53:12 +02:00
Emmanuel Isaac
1d4648fba1 Add git alias to clear entire stash (#5306)
Using the "gstc" alias runs "git stash clear"
that clears every stash index
2016-08-18 09:22:21 +02:00
Dzianis Dashkevich
03e65c846f Add gcpa and gcpc aliases to git plugin (#5271) 2016-08-14 17:58:11 -07:00
Robby Russell
e2a6a9cab3 #5130 resolving conflict in git plugin for gh 2016-08-14 17:39:27 -07:00
Simen Bekkhus
0f26baba8e (git): Add gpsup alias (#5287) 2016-08-11 02:47:54 +02:00
Marc Cornellà
238b62df3f [git plugin] Fix indentation and organise aliases 2016-08-07 18:30:57 +02:00
Cédric Malard
5156d7025b 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
2016-08-01 18:16:54 +02:00
Marc Cornellà
bde0cd56f9 Fix gfg function completion definition
Related: #5179
2016-06-21 01:06:21 +02:00
wangzengdi
ab872e4255 add alias gh=git help 2016-05-31 09:57:36 +08:00
Wasif Hasan Baig
bc160d6e08 Changd alias gsta='git stash' to alias gsta='git stash save'. 2016-05-26 10:26:01 -07:00
Ivan Mironov
8cb596fbed Add alias for oneline git tree with --all option 2016-05-18 12:28:36 +03:00
Wanbok Choi
6ce8a4192b 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'.
2016-05-14 13:45:55 +02:00
Marc Cornellà
f7348e90f1 Merge pull request #4728 from atk91/4727
Remove --color flag from git log aliases

The way to colorize `git log` output is by setting the `color.ui` configuration.
2016-03-30 04:46:22 +02:00
Filippo Valsorda
67cf01d964 git.plugin: remove the conflicting gvt alias
See FiloSottile/gvt#19 and FiloSottile/gvt#4
2016-02-10 18:31:49 +00:00
atk91
d74f403663 Closes #4727 2015-12-25 11:33:29 +03:00
Andrew Janke
7ef5c4e7c0 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.
2015-12-14 20:28:37 -05:00
Robby Russell
5805fc9da8 Merge pull request #4482 from sachin21/add_an_alias_for_upstream
Add an alias for upstream
2015-10-10 07:12:21 -07:00
Satoshi Ohmori
0603007895 Add an alias for upstream 2015-10-10 11:51:33 +09:00
Bruno Volcov
302ac31478 add alias to sort by version 2015-10-09 18:47:48 -03:00
Michael SALIHI
ecdb44beff Add alias for print latest tag name 2015-09-24 02:22:50 +02:00
Robby Russell
5d28e2b4fe Merge pull request #4109 from zhiyelee/patch-1
add git alias `gcam` -  git commit -am
2015-08-30 21:52:07 -07:00
Matteo Giaccone
00911dea45 git plugin: make gclean safer, introduce gpristine 2015-07-30 12:32:41 +01:00
Zhiye Li
ea668b5040 add git alias gcam - git commit -am
add git alias `gcam` -  `git commit -am`
2015-06-30 17:50:01 -05:00
ncanceill
93fcc08af5 git plugin: fix ggl to avoid empty string
see
https://github.com/robbyrussell/oh-my-zsh/pull/2790#issuecomment-112716330
2015-06-17 22:38:31 +02:00
Arnaud Rinquin
d812a07b93 Fix plugin/git ggpull and ggpush backward compatibility
Current `ggpush` is `git push origin` instead of `git push origin $(current_branch)`
Same for `ggpull`
2015-06-17 22:36:25 +02:00
ncanceill
74889ced98 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
2015-06-12 11:50:30 +02:00
ncanceill
1cde830aa4 git plugin: fix ggpnp when called without argument
also allow multiple arguments for ggp and ggl aliases
2015-06-11 23:34:18 +02:00
ncanceill
d8d2dd9d8d git plugin: make b local in gg* functions
because it leaked, and led to #3991
2015-06-11 17:14:35 +02:00
ncanceill
630d81cd72 git plugin: fix error msg in gwip alias
because git rm will fail when no files were deleted
2015-06-11 16:16:12 +02:00
ncanceill
b39a1fbfbc git plugin: global var for git command
due to issues like #3962
until a proper plugin-loading system is implemented
2015-06-11 15:12:28 +02:00
ncanceill
0f4bf1bfa3 git plugin: bring back olg gg aliases
by popular demand, see #3972
2015-06-11 11:04:54 +02:00
ncanceill
467854cb12 Many updates to git plugin (see #2790) 2015-05-08 16:00:22 +02:00
Robby Russell
c24a630ae5 Merge pull request #2407 from mgalgs/gmt-compdef
Fix gmt compdef
2015-02-22 10:24:39 -08:00
Tejas Bubane
eae46a1982 Add alias for git add --all 2015-02-04 12:24:17 +05:30
Robby Russell
5e25913178 Revert "Exit early from git plugin if not in git repo." 2014-09-04 12:53:43 +02:00
AJ Henriques
f0d5cfdc33 add git difftool alias (gdt) 2014-08-31 20:30:42 -07:00
Robby Russell
99fde07b8f Merge pull request #3000 from bigtiger/add-git-add-patch
Add gap (git add --patch)
2014-08-31 12:10:04 -07:00
Robby Russell
58491bda21 Merge pull request #3012 from abstractj/git-gpg-signatures
Inclusion of aliases for sign git commits and tags
2014-08-31 11:44:57 -07:00
Robby Russell
74e7510a7d Merge pull request #3014 from allister-lundberg/git_alias_gitbranchremote
New alias for git plugin: gbr == git branch --remote
2014-08-31 11:43:59 -07:00
Robby Russell
c07bf981c3 Merge pull request #1504 from jediant/master
Exit early from git plugin if not in git repo.
2014-08-31 10:59:55 -07:00
DariusPHP
5d6c73d7d3 #git plugin git diff-tree --name-only added 2014-08-22 10:21:38 +03:00
lundberg
9a0196dbf7 New alias for git plugin: gbr == git branch --remote 2014-08-10 12:01:47 -07:00
Bruno Oliveira
45abe764e5 Inclusion of aliases for sign git commits and tags 2014-08-09 12:26:35 -03:00
Jim Remsik
4f1ee6c1ee Add gap (git add --patch) 2014-08-01 20:16:33 -05:00
Mitchel Humpherys
33ef34baa5 Fix gmt compdef
Fix typo: gm -> gmt
2014-04-29 10:20:39 -07:00
Benoit Dubertret
a869ec9bc8 Fix gwip alias in git plugin when no files to rm 2014-03-17 16:07:46 +01:00