summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitconfig31
1 files changed, 16 insertions, 15 deletions
diff --git a/.gitconfig b/.gitconfig
index 57ad831..083687f 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,17 +1,23 @@
[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
+ 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 master..HEAD
+ co = checkout
+ df = diff
+ cp = cherry-pick
+ br = branch
+ amend = commit --amend --no-edit
+ fix = commit --fixup
+ autosquash = rebase -i --autosquash
+
[core]
excludesfile = ~/.gitignore
autocrlf = input
+[init]
+ defaultBranch = main
+
[user]
name = Steph Enders
email = "steph@senders.io"
@@ -23,11 +29,6 @@ br = branch
interactive = auto
branch = auto
-[filter "lfs"]
- clean = git-lfs clean -- %f
- smudge = git-lfs smudge -- %f
- process = git-lfs filter-process
- required = true
+[include]
+ path = ~/.pc_local_gitconfig
-[init]
- defaultBranch=main