Skip to content

Commit

Permalink
git: update git config
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuN6211 committed Dec 20, 2024
1 parent 3422fed commit e2cda5a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,23 @@

[core]
editor = vim
pager = delta

[init]
defaultBranch = main

[commit]
verbose = true

[diff]
algorithm = histogram

[delta]
line-numbers = true

[ghq]
root = ~/workspace

[alias]
graph = log --graph --date-order --all --pretty=format:'%h %Cred%d %Cgreen%ad %Cblue%cn %Creset%s' --date=short
graph = log --graph --date-order --all --pretty=format:'%h %Cred%d %Cgreen%ad %Cblue%cn %Creset%s' --date=short
uncommit = reset --soft HEAD^

0 comments on commit e2cda5a

Please sign in to comment.