Last active
November 29, 2022 14:19
-
-
Save oren-l/89b301c5290d111ecd8c476fcd08f741 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
[init] | |
# defaultBranch = main | |
[core] | |
editor = vim | |
# editor = code --wait | |
pager = less -F -X | |
[push] | |
default = simple | |
[pull] | |
# rebase = true | |
[color "branch"] | |
current = yellow bold | |
local = green bold | |
remote = cyan bold | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse | |
[color "status"] | |
added = green bold | |
changed = yellow bold | |
untracked = red bold | |
[alias] | |
st = status | |
co = checkout | |
br = branch | |
ci = commit | |
hist = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' | |
dfw = diff -b -w --ignore-space-at-eol | |
pushf = push --force-with-lease | |
compb = show-branch @ | |
rehist = hist ORIG_HEAD.. | |
refrel = reflog --pretty=relative | |
# difftool | |
[diff] | |
tool = vscode | |
[difftool "vscode"] | |
cmd = code --wait --diff $LOCAL $REMOTE | |
[merge] | |
tool = vscode | |
[mergetool "vscode"] | |
cmd = code --wait $MERGED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment