Skip to content

Instantly share code, notes, and snippets.

@alexandreab
Last active July 24, 2023 21:57
Show Gist options
  • Save alexandreab/9876b98cab4df34991fd1f9f0cdb0217 to your computer and use it in GitHub Desktop.
Save alexandreab/9876b98cab4df34991fd1f9f0cdb0217 to your computer and use it in GitHub Desktop.
[user]
name = Alexandre Barbosa
email = alexandreab@live.com
[init]
defaultBranch = main
[pull]
rebase = true
[core]
editor = vim
[ui]
color = auto
[alias]
br = branch
ci = commit
ca = commit --amend
cm = commit -m
co = checkout
ft = fetch --prune --tag --all
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
st = status -sb
type = cat-file -t
dump = cat-file -p
ss = status -s
d = difftool
rb = rebase -i HEAD~7
prb = pull --rebase origin master
[color]
ui = true
[commit]
template = ~/.gitmessage
[branch]
autosetuprebase = always
[merge]
tool = vimdiff
[diff]
tool = vimdiff
wsErrorHighlight = all
[difftool]
prompt = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment