Compare commits
1 Commits
24f77fb550
...
f2b8731770
Author | SHA1 | Date | |
---|---|---|---|
f2b8731770 |
@ -3,7 +3,5 @@
|
|||||||
- symlink:
|
- symlink:
|
||||||
- {src: config, dst: ~/.gitconfig}
|
- {src: config, dst: ~/.gitconfig}
|
||||||
- {src: _git-changes, dst: ~/.local/share/zsh/site-functions/_git-changes}
|
- {src: _git-changes, dst: ~/.local/share/zsh/site-functions/_git-changes}
|
||||||
- {src: _git-fixup, dst: ~/.local/share/zsh/site-functions/_git-fixup}
|
|
||||||
- {src: _git-squash, dst: ~/.local/share/zsh/site-functions/_git-squash}
|
|
||||||
- repo:
|
- repo:
|
||||||
- git@code.infektor.net:benie/config.git
|
- git@code.infektor.net:benie/config.git
|
||||||
|
@ -43,8 +43,6 @@ rely on the shell to function. The following aliases extend the default
|
|||||||
[Git][git] completions.
|
[Git][git] completions.
|
||||||
|
|
||||||
* `git changes` completions for the branch name to compare with are provided.
|
* `git changes` completions for the branch name to compare with are provided.
|
||||||
* `git fixup`/`git squash` completions for recent commits to fixup/squash are
|
|
||||||
provided.
|
|
||||||
|
|
||||||
[git]: https://git-scm.com
|
[git]: https://git-scm.com
|
||||||
[aliases]: https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases
|
[aliases]: https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#compdef git-fixup
|
|
||||||
#description Prepare a commit for fixup during autosquash rebase.
|
|
||||||
|
|
||||||
_arguments '1: :__git_recent_commits'
|
|
||||||
|
|
||||||
# vim: ft=zsh
|
|
@ -1,6 +0,0 @@
|
|||||||
#compdef git-squash
|
|
||||||
#description Prepare a commit for squashing during autosquash rebase.
|
|
||||||
|
|
||||||
_arguments '1: :__git_recent_commits'
|
|
||||||
|
|
||||||
# vim: ft=zsh
|
|
4
config
4
config
@ -5,8 +5,8 @@
|
|||||||
unstage = reset -q HEAD --
|
unstage = reset -q HEAD --
|
||||||
|
|
||||||
amend = commit --amend
|
amend = commit --amend
|
||||||
fixup = !sh -c 'git commit --fixup=$1' --
|
fixup = commit --fixup
|
||||||
squash = !sh -c 'git commit --squash=$1' --
|
squash = commit --squash
|
||||||
prepare = rebase -i --fork-point
|
prepare = rebase -i --fork-point
|
||||||
|
|
||||||
list = branch
|
list = branch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user