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
DariusPHP
5d6c73d7d3
#git plugin git diff-tree --name-only added
12 years ago
lundberg
9a0196dbf7
New alias for git plugin: gbr == git branch --remote
12 years ago
Bruno Oliveira
45abe764e5
Inclusion of aliases for sign git commits and tags
12 years ago
Jim Remsik
4f1ee6c1ee
Add gap (git add --patch)
12 years ago
Mitchel Humpherys
33ef34baa5
Fix gmt compdef
...
Fix typo: gm -> gmt
12 years ago
Benoit Dubertret
a869ec9bc8
Fix gwip alias in git plugin when no files to rm
12 years ago
Emanuele Zattin
f6f3e93019
Improve oneline logs
...
Add decorate and color to the normal oneline and add a new alias for graph oneline logs.
12 years ago
Sam O
d60522c7a2
escape dashes
12 years ago
Sam O
827d9dfcb4
Update git.plugin.zsh
12 years ago
onemouth
c81e42f050
Update git.plugin.zsh
...
add command to ignore changes to file temporarily
13 years ago
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.
13 years ago
Maxime Chaisse-Leal
095a01d92a
Added WIP (work in progress) feature to git.plugin
13 years ago
Torsten Bühl
5bf20572cc
Add commonly used git stash aliases
13 years ago
yleo77
6041e4938c
set default value `--max-count=10`
13 years ago
Tehmasp Chaudhri
57a2327ddf
Added a 'git diff --cached' alias -> 'gdc'
13 years ago
Brent Theisen
05d8fdf3d5
Copy and paste of two functions from Ubuntu 13.04's version of /usr/share/zsh/functions/Completion/Unix/_git that were referenced in 46f0d8d. Fixes #1952 .
13 years ago
Okura Masafumi
c51ef9dce6
Change duplicated alias name
13 years ago
Michiel Missotten
d6945e2daa
Adding a rebase option to git alias.
13 years ago
Gaetan Semet
46f0d8dba9
Improvement in the git plugin
...
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
13 years ago
Ayush Samantroy
6f8e8c58a0
Added alias for git clean
13 years ago
yleo77
00848cd8b7
add gf alias for git flow
13 years ago
simlegate
22dce9e715
add git alias 'gcmsg' and stand for 'git commit -m'
13 years ago
simlegate
29e696d902
rename gcm to gcmsg and stand for 'git commit -m' #1790
13 years ago
simlegate
b36c42b76d
rename gcm to gcmsg and stand for 'git commit -m'
13 years ago
simlegate
cf3a03d45e
rm alias gcm='git checkout master' and add alias gcm='git commit -m'
13 years ago
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.
🎉
13 years ago
Anton Eicher
fdb3c0e68d
Added check for .git directory in current, before wasting time querying git. This saves seconds on my pc.
13 years ago
Marcus Müller
ab13d0756f
git find
13 years ago
Stanislav Mekhonoshin
7991562e76
Added gwc(git whatchanged alias)
...
Allows to view commit history in extended way
14 years ago
Josh Matthews
7be660bf1d
Adding grt alias to the git plugin.
14 years ago
Árni Hermann Reynisson
003b0da9e5
Use pull --rebase for 'gup' shortcut.
...
Instead of git fetch && git rebase.
14 years ago