Skip to content

Commit

Permalink
chore(config): update git configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Sep 5, 2024
1 parent 16f8079 commit 85a79f9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions filesystem/.gitconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[user]
email = [email protected]
name = Patrick Kollitsch
email = [email protected]
name = Patrick Kollitsch
signingkey = 3F549359A1CA269A

[apply]
Expand Down Expand Up @@ -199,10 +199,10 @@ contributors = shortlog --summary --numbered
# show last commit with signature
last = log --show-signature -1

# Stashing
# stashing
stash-untracked = "!f() { git stash; git stash -u; git stash pop stash@{1}; }; f"
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
stash-pu = stash -p -u
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@;}; gi"
stash-content = "!f() { git stash push -u -m 'wip: new content' content; }; f"

# Rebasing - https://notes.zander.wtf/notes/git-rebasing/
mainbranch = "!git remote show origin | sed -n '/HEAD branch/s/.*: //p'"
Expand Down Expand Up @@ -298,3 +298,7 @@ recurse = true
date = iso
[pull]
rebase = true
[branch]
sort = -committerdate
[maintenance]
repo = /home/patrick/github.com/davidsneighbour/kollitsch.dev

0 comments on commit 85a79f9

Please sign in to comment.