Last active
January 17, 2023 18:55
-
-
Save JustinJohnWilliams/e3db33d5a011528558b478a39d8ffe63 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Justin Williams | |
email = [email protected] | |
signingkey = <yo momma> | |
[pull] | |
rebase = true | |
[alias] | |
exclude = !sh -c 'echo "$1" >> .git/info/exclude' - | |
lg = log --color --graph --abbrev-commit --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %C(cyan)%s%Creset %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
commits = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)' | |
lo = log -20 --graph --pretty=format:'%Cred%h%Creset %C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit | |
yolo = !git commit -m \"$(curl -s whatthecommit.com/index.txt)\" | |
summary = "!git shortlog -n -s | awk '{ args[NR] = $0; sum += $0 } END { for (i = 1; i <= NR; ++i) { printf \"%-30s %2.1f%%\\n\", args[i], 100 * args[i] / sum } }'" | |
recommit = commit --amend --no-edit | |
recommit-no-verify = commit --amend --no-edit --no-verify | |
work = log --oneline --author Justin --before today --after '3 days ago' --no-merges --reverse | |
split = reset --soft HEAD^ | |
files-only = show --name-only | |
root = rev-parse --show-toplevel | |
[commit] | |
gpgsign = true | |
[url "ssh://[email protected]/"] | |
insteadOf = https://github.com/ | |
[init] | |
defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment