larumbe
77b409d5c2
git: add convenience aliases for `git apply` and `git am` ( #8563 )
6 years ago
David
a25efd1e31
git: exclude devel branch from list in gbda alias ( #8957 )
6 years ago
Mikael Andersson Wigander
d8f674cc8e
git: exclude 'development' in gdba alias ( #8902 )
6 years ago
Jean-Yves Rivallan
831089a375
git: make the gpristine alias remove untracked git repos ( #8697 )
6 years ago
Ujwal Dhakal
e8609b857c
git: add `grename` to rename a local branch and in the origin remote ( #8622 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Roman
aa4146a9a4
git: add alias for git stash --include-untracked ( #8617 )
6 years ago
Marc Cornellà
093b56a7d7
git: fix gtl alias argument
...
Fixes the error `no matches found` because the argument is not quoted.
See https://github.com/robbyrussell/oh-my-zsh/pull/7629#issuecomment-531151821
7 years ago
Ryan Styrczula
df9cf72396
plugins/git: Fix `gbda` trying to delete worktree branches
...
Git learned to add a `+` in front of branches that are
checked out in other worktrees.
See: 745f681289/Documentation/RelNotes/2.23.0.txt (L252-L256)
7 years ago
Julien Janvier
de3b14cf69
git: add aliases for git switch and restore ( #8089 )
7 years ago
SomeDer
f992d434ec
git: add git revert alias ( #7841 )
...
* git: add `alias grev="git revert"`
* Swapping double for single quotes
Matching the conventions in the plugin
7 years ago
Marc Cornellà
4ad4a81657
git: clean up plugin file and delete current_repository function
...
Closes #6329
7 years ago
Marc Cornellà
7824dc637d
git: use is-at-least to test for git version
...
Fixes #7754
7 years ago
Marc Cornellà
b31106b341
git: minor syntax fix
7 years ago
Marc Cornellà
1bd72f588c
Update to inline conditional syntax
7 years ago
Asatur Meltonyan
046d49f782
git: add 'gtl' alias to list tags matching a pattern ( #7629 )
...
1. List the tags that match the pattern(s) passed through the argument.
2. Displays the first line of the annotation message along with the tag, or the line of the first commit message if the tag is not annotated.
3. Sorts and displays tags in descending order.
7 years ago
Marc Cornellà
831fba4ee4
Revert "git: delete branches in `gbda` only if there are any ( #6079 )" ( #7724 )
...
This reverts commit 0e0789fb7a .
7 years ago
Marc Cornellà
93cbc1614c
git: use interactive mode in gclean
...
Fixes #7716
7 years ago
Simen Bekkhus
4b82b86064
git: add `--no-gpg-sign` to gwip ( #6031 )
7 years ago
Jakub Chábek
0e0789fb7a
git: delete branches in `gbda` only if there are any ( #6079 )
...
It doesn't make sense to run `git branch -d $BRANCH` if the `$BRANCH` is empty.
7 years ago
Marc Cornellà
f6a9a0a498
git: fix grt on path with spaces
...
Fixes #7682
7 years ago
Tieme van Veen
9509fd6a91
Add git reset to origin alias to git plugin ( #7630 )
7 years ago
Bartlomiej Tartanus
932d611c90
git: properly indent ggfl function ( #7556 )
...
Fixes (probably MacOS) issue:
> ggfl
zsh: command not found: ggfl
7 years ago
Gianluca Recchia
308b046875
Use stash 'push' or 'save' depending on Git version
...
A utility function now parses the output of git --version and set the
alias for git stash to 'git stash push' iff the current version of Git
is greater than 2.13; it falls back to 'git stash save' otherwise.
7 years ago
neeasade
3c16466a14
git: quote branch name in ggpull and ggpush ( #7472 )
7 years ago
Max Gautier
509a554900
git: use color auto for ref names in git log ( #5729 )
...
Allow the ref names to have differents colors if they are remote refs
or local refs, and another color for HEAD
(use the same coloring scheme as --decorate option)
8 years ago
Luis Ferrer-Labarca
5ee93f4f15
git: add git rm aliases ( #5433 )
...
* grm for 'git rm'
* grmc for 'git rm --cached'
8 years ago
Yago Nobre
0db7da0cd5
git: add push force aliases ( #6297 )
...
* gpf to --force-with-lease
* gpf! to --force
8 years ago
Simen Bekkhus
a3afeca3eb
git: add gbD alias to force-delete branch ( #5844 )
8 years ago
Jefferson F. Pires
d5f0a0a413
git: add glols alias for glol --stat ( #5871 )
8 years ago
Gant Laborde
69ba6e4359
git: add alias to `git stash --all` ( #5511 )
...
Stash tracked, ignored and untracked files. Leaves the working directory absolutely clean.
8 years ago
Poyoman
3d2542f41b
git: add pull rebase --autostash aliases ( #6791 )
8 years ago
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