mirror of
https://source.perfectable.org/nivertius/git-rc.git
synced 2025-07-02 02:45:58 +02:00
added human aliases
This commit is contained in:
parent
58f83fc328
commit
4b480bda71
1 changed files with 11 additions and 6 deletions
17
.gitconfig
17
.gitconfig
|
@ -16,12 +16,17 @@
|
||||||
default = simple
|
default = simple
|
||||||
[alias]
|
[alias]
|
||||||
st = status
|
st = status
|
||||||
ap = add --patch
|
|
||||||
dx = diff --cached
|
precommit = diff --diff-algorithm=minimal -w
|
||||||
di = diff
|
interative = add --patch
|
||||||
co = checkout
|
|
||||||
dit = difftool --dir-diff
|
diffdir = difftool --dir-diff
|
||||||
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
|
graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
|
||||||
|
|
||||||
|
unstage = reset -q HEAD --
|
||||||
|
discard = checkout --
|
||||||
|
uncommit = reset --mixed HEAD~
|
||||||
|
amend = commit --amend
|
||||||
[core]
|
[core]
|
||||||
editor = vim
|
editor = vim
|
||||||
[diff]
|
[diff]
|
||||||
|
|
Loading…
Add table
Reference in a new issue