mirror of
https://source.perfectable.org/nivertius/git-rc.git
synced 2025-07-01 20:44:14 +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
|
||||
[alias]
|
||||
st = status
|
||||
ap = add --patch
|
||||
dx = diff --cached
|
||||
di = diff
|
||||
co = checkout
|
||||
dit = 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
|
||||
|
||||
precommit = diff --diff-algorithm=minimal -w
|
||||
interative = add --patch
|
||||
|
||||
diffdir = difftool --dir-diff
|
||||
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]
|
||||
editor = vim
|
||||
[diff]
|
||||
|
|
Loading…
Add table
Reference in a new issue