gitconfig: Change alias logs and add gitignore file for vim
This commit is contained in:
1 parent
0b6afa5fa5
commit
28fbe11819
2 files changed
+24
-3
No files matched your search
@@ -3,9 +3,14 @@
|
||||
email = mickael.tansorier@openwide.fr
|
||||
[core]
|
||||
editor = vim
|
||||
excludesfile = /home/micka/.gitignore
|
||||
|
||||
[color]
|
||||
ui = true
|
||||
ui = auto
|
||||
branch = auto
|
||||
diff = auto
|
||||
interactive = auto
|
||||
status = auto
|
||||
|
||||
[alias]
|
||||
co = checkout
|
||||
@@ -18,13 +23,17 @@
|
||||
cp = cherry-pick
|
||||
# logs
|
||||
# lg : prefered log
|
||||
# lga: log commit all
|
||||
# lgo: log other
|
||||
# lgc: log commit title only
|
||||
# lgd: log commit and its details
|
||||
# lgb: log commit with branch
|
||||
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(white)%s%C(reset) %C(dim white)- %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)' --all
|
||||
lg = log --graph --pretty=format:'%C(yellow)%h%C(reset) - %s %C(green)(%cr) %C(dim white)<%an>%C(reset) %C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
|
||||
lga = log --graph --pretty=format:'%C(yellow)%h%C(reset) - %s %C(green)(%cr) %C(cyan)<%an>%C(reset) %C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative --decorate=full --all
|
||||
lgo = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(white)%s%C(reset) %C(dim white)- %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --decorate
|
||||
lgc = log --oneline
|
||||
lgd = log --name-status --abbrev-commit
|
||||
lgb = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
|
||||
lgb = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --abbrev-commit --decorate --all
|
||||
|
||||
|
||||
#[push]
|
||||
|
||||
Reference in new issue
Block a user