Last active
May 20, 2024 15:23
-
-
Save felipecwb/583a756e9460b3fc9dc9 to your computer and use it in GitHub Desktop.
Some git configs
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 = ... | |
| email = ... | |
| signingkey = ... | |
| [alias] | |
| yolo = "!git add -A && git commit -m \"$(curl -s https://whatthecommit.com/index.txt)\"" | |
| timeline = log --graph --branches --pretty=oneline --decorate --abbrev-commit --all | |
| history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --all --decorate --abbrev-commit | |
| [core] | |
| editor = vim | |
| autocrlf = input | |
| eol=lf | |
| whitespace = cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [commit] | |
| gpgsign = true | |
| [merge] | |
| tool = nvim -d | |
| conflictstyle = diff3 | |
| prompt = false | |
| [mergetool] | |
| keepBackup = false | |
| [branch] | |
| autoSetupMerge = true | |
| [push] | |
| default = current | |
| autoSetupRemote = true | |
| [pull] | |
| default = current | |
| ff = only | |
| [url "ssh://[email protected]/"] | |
| insteadOf = "https://github.com/" |
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
| *.swp | |
| *.swo | |
| GPATH | |
| GRTAGS | |
| GTAGS | |
| .tool-versions |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changes in awk 4.1 gensub function:
from:
gensub(\"remotes/\", \"\", $0)to:
gensub(\"remotes/\", \"\", \"g\", $0)