Last active
April 29, 2022 14:01
-
-
Save bryanroscoe/18fea432f5162eae5ac98a404897e6b3 to your computer and use it in GitHub Desktop.
.gitconfig rev
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 = Bryan Roscoe | |
| email = bryanroscoe@gmail.com | |
| [core] | |
| editor = vim | |
| autocrlf = false | |
| longpaths = true | |
| eol = LF | |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| ui = true | |
| interactive = auto | |
| [pull] | |
| rebase = true | |
| [push] | |
| default = simple | |
| [alias] | |
| ammend = "!git add . ; git commit --amend --no-edit" | |
| ci = commit | |
| cm = "!git add . ; git commit -m " | |
| co = checkout | |
| cob = checkout -b | |
| brd = branch -D | |
| br = branch | |
| f = fetch -p | |
| brn = "!git fetch -p ; git co origin/develop ; git co -b" | |
| lg = "log --graph --pretty=format:'%C(green)%h [%an]%Creset -%C(cyan)%d%Creset %s %C(green)(%cr)%Creset' --abbrev-commit --date=relative" | |
| s = status | |
| st = "status -sb" | |
| lg1 = "log --oneline --decorate" | |
| hist = "log --pretty=format:'%h %ad | %s%d [%an]' --date=short --max-count=10" | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| track = "!git push -u origin $(git branch-name)" | |
| [help] | |
| autocorrect = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment