Skip to content

Commit 8d3bcff

Browse files
committed
Improve git configuration
1 parent 807ca56 commit 8d3bcff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[core]
22
excludesfile = ~/.gitignore
3-
pager = less -x1,5
3+
pager = less -x1,3
44

55
[init]
66
defaultBranch = master
@@ -25,7 +25,7 @@
2525
ci = commit
2626
br = branch
2727
co = checkout
28-
df = diff
28+
df = diff --staged
2929
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
3030

3131
[gitflow "branch"]

0 commit comments

Comments
 (0)