KhasMek
668dc14b28
Plugins: git - be less verbose with commits
...
Remove the -v flag by default with the standard
aliases gc, gc!, gca, and gca!, while adding new
aliases for those that choose to put the entire
diffs in their commit message.
In some cases git -v ignores it's rules of cutting
everything below the line:
# ------------------------ >8 ------------------------
causing the full diff of the commit to be shown in the
commit message. This is usually caused by commits that
are heavy in shell style comments or mardown files with
lots of headers defined (tldr: #'s, bangs).
IMHO, and from my understanding of the creators of
git and many others - showing a full diff in
the commit message not only completely breaks the
acceptable/expected format of "good" commit messages,
but is also completely redundant and unnecessary. (If
you have access to the commit message, more than
likely you can access the diff of the commit via a
multitude of other methods (CLI tools, GUI tools, web
interfaces in a much nicer looking format.)
2015-06-07 11:26:32 -06:00
ncanceill
5b75cc7880
Many updates to git plugin (see #2790 )
2015-05-08 16:00:22 +02:00
Robby Russell
43531625ab
Merge pull request #2407 from mgalgs/gmt-compdef
...
Fix gmt compdef
2015-02-22 10:24:39 -08:00
Tejas Bubane
8cb97d6f22
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
Emanuele Zattin
f6f3e93019
Improve oneline logs
...
Add decorate and color to the normal oneline and add a new alias for graph oneline logs.
2014-02-13 10:32:52 +01:00
Sam O
d60522c7a2
escape dashes
2014-01-02 15:53:34 -08:00
Sam O
827d9dfcb4
Update git.plugin.zsh
2014-01-02 15:48:09 -08:00
Robby Russell
4e34588a5b
Merge pull request #2208 from onemouth/master
...
Update git.plugin.zsh
2013-12-03 00:20:36 -08:00
Robby Russell
b6f4a887ac
Merge pull request #2131 from stevschmid/patch-1
...
Fix gallois theme
2013-12-02 23:24:01 -08:00
onemouth
c81e42f050
Update git.plugin.zsh
...
add command to ignore changes to file temporarily
2013-10-30 11:05:35 +08:00
Robby Russell
86d57e83ed
Merge pull request #2078 from tbuehl/master
...
Add commonly used git stash aliases to git plugin
2013-10-24 20:24:59 -07:00
Steven Schmid
05b3ea342a
Fix work_in_progress in empty git repos
...
I noticed that the function ``work_in_progress``, which is used in the "gallois"-theme, would print ``fatal: bad default revision 'HEAD'`` in a new folder after ``git init``.
This is the fix.
2013-10-01 18:08:15 +02:00
Robby Russell
26e936e645
Merge pull request #1967 from tchaudhri/gdc_git_alias
...
Added a 'git diff --cached' alias -> 'gdc'
2013-09-19 06:56:58 -07:00
Robby Russell
a712579a2a
Merge pull request #2099 from mchaisse/master
...
Added WIP (work in progress) feature to git.plugin
2013-09-18 23:38:11 -07:00
Maxime Chaisse-Leal
095a01d92a
Added WIP (work in progress) feature to git.plugin
2013-09-18 21:54:23 +02:00
Torsten Bühl
5bf20572cc
Add commonly used git stash aliases
2013-09-05 14:37:37 +02:00
yleo77
fda5afaebc
Merge remote-tracking branch 'robbyrussell/master'
2013-08-29 13:41:42 +08:00
Robby Russell
39a5e36c37
Merge pull request #1790 from simlegate/master
...
change git alias
2013-08-13 06:20:53 -07:00
yleo77
6041e4938c
set default value --max-count=10
2013-07-16 16:54:54 +08:00
yleo77
67b2781f62
Merge remote-tracking branch 'robbyrussell/master'
2013-07-16 16:37:18 +08:00
Tehmasp Chaudhri
57a2327ddf
Added a 'git diff --cached' alias -> 'gdc'
2013-07-12 12:03:44 -06:00
Okura Masafumi
c51ef9dce6
Change duplicated alias name
2013-06-27 22:28:14 +09:00
Robby Russell
b9baf37739
Merge pull request #1859 from ayushs/plugin-git-clean
...
Added alias for git clean
2013-06-25 09:26:00 -07:00
Robby Russell
a8c0c4de06
Merge pull request #1864 from Stibbons/gsemet_push_git_plugin
...
Improvement in the git plugin
2013-06-25 09:25:38 -07:00
Michiel Missotten
d6945e2daa
Adding a rebase option to git alias.
2013-06-11 11:23:02 +02:00
Gaetan Semet
46f0d8dba9
Improvement in the git plugin
...
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2013-06-05 15:16:51 +02:00
Ayush Samantroy
6f8e8c58a0
Added alias for git clean
2013-06-01 18:02:38 +05:30
yleo77
00848cd8b7
add gf alias for git flow
2013-05-22 17:00:08 +08:00
simlegate
22dce9e715
add git alias 'gcmsg' and stand for 'git commit -m'
2013-05-09 12:57:32 +08:00
simlegate
b36c42b76d
rename gcm to gcmsg and stand for 'git commit -m'
2013-05-08 17:03:07 +08:00
simlegate
cf3a03d45e
rm alias gcm='git checkout master' and add alias gcm='git commit -m'
2013-05-05 16:35:40 +08:00
Robby Russell
f44d403572
Resolving conflict with merge of #1058
2013-04-23 21:20:00 -07:00
Robby Russell
b4578be3f1
Merge pull request #818 from jmacdonald/master
...
Alias for 'git diff'
2013-04-23 20:48:36 -07:00
Ben Marshall-Corser
f7f487c426
Alias for commit and commit all with amend
...
For the lazy and forgetful. Don't worry, a bang is fine in an alias and completion.
🎉
2013-03-17 23:00:12 +00:00
Anton Eicher
fdb3c0e68d
Added check for .git directory in current, before wasting time querying git. This saves seconds on my pc.
2012-12-19 07:22:03 -08:00
Robby Russell
083da66c0b
Merge pull request #1139 from mappleconfusers/pull_req_git
...
Add aliases for git-remote
2012-12-05 07:16:36 -08:00
Robby Russell
178bce287e
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
2012-12-04 08:27:13 -08:00
Robby Russell
bd9a86051f
Merge pull request #1247 from drnic/git-cmds
...
Added 'gcl'for 'git config --list'; and gd for 'git diff'
2012-12-04 06:37:18 -08:00