init
This commit is contained in:
commit
b3efe740e0
11 changed files with 80 additions and 0 deletions
16
.gitconfig
Normal file
16
.gitconfig
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[alias]
|
||||
logs = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
|
||||
co = checkout
|
||||
br = branch
|
||||
|
||||
[user]
|
||||
useConfigOnly = true
|
||||
|
||||
[includeIf "gitdir:~/work/"]
|
||||
path = ~/work/.gitconfig
|
||||
|
||||
[includeIf "gitdir:~/personal/"]
|
||||
path = ~/personal/.gitconfig
|
||||
Loading…
Add table
Add a link
Reference in a new issue