Last active
July 30, 2022 21:16
-
-
Save eib/4abdd18f8e53cf069262e77b32d485ee to your computer and use it in GitHub Desktop.
.gitconfig
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 = Ethan Blackwelder | |
email = [email protected] | |
[mergetool] | |
keepBackup = false | |
[core] | |
autocrlf = true | |
#editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe' | |
editor = nano | |
[alias] | |
squash = "!f(){ git reset --soft HEAD~${1} && git commit --edit -m\"$(git log --format=%B --reverse HEAD..HEAD@{1})\"; };f" | |
glog = "log --graph --all --decorate-refs-exclude='refs/tags/build/*/*' --decorate-refs-exclude='refs/tags/pointer/*/*'" | |
undo = "checkout --" | |
track = "checkout --track" | |
cherrypick = "cherry-pick" | |
[log] | |
date = relative | |
[format] | |
pretty = format:%C(yellow)%h %C(magenta)%ad%C(auto)%d%Creset %s %C(dim green)(%ae)%Creset | |
[color] | |
ui = true | |
# status = auto | |
[color "status"] | |
added = green | |
changed = yellow | |
untracked = red | |
nobranch = red |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment