summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig33
1 files changed, 33 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..bdb531c
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,33 @@
+[alias]
+st = status -sb
+lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
+sum = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --summary
+blg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
+co = checkout
+df = diff
+cp = cherry-pick
+br = branch
+
+[core]
+ excludesfile = $HOME/.gitignore
+ autocrlf = input
+
+[user]
+ name = Steph Enders
+ email = "steph@senders.io"
+
+[color]
+ diff = auto
+ status = auto
+ grep = auto
+ interactive = auto
+ branch = auto
+
+[filter "lfs"]
+ clean = git-lfs clean -- %f
+ smudge = git-lfs smudge -- %f
+ process = git-lfs filter-process
+ required = true
+
+[init]
+ defaultBranch=main \ No newline at end of file