Skip to content

Instantly share code, notes, and snippets.

@fzed51
Created October 11, 2022 20:53
Show Gist options
  • Save fzed51/bae0a88b2a8438d5c2c5e0654552ee62 to your computer and use it in GitHub Desktop.
Save fzed51/bae0a88b2a8438d5c2c5e0654552ee62 to your computer and use it in GitHub Desktop.
Configuration globale de git
[core]
autocrlf = true
[credential]
helper = manager-core
[color]
ui = auto
[alias]
st = status --branch --short
df = diff
ck = checkout
cm = commit -m
br = branch
aa = add --all
ai = add --interactive
ptlg = log --pretty=format:'%C(brightyellow)%h%C(reset) -%C(auto)%d%C(reset) %s %C(dim white)|%C(reset) %C(dim cyan)%an%C(reset) %C(dim green), %cr%C(reset)' --abbrev-commit
lg = ptlg -n10
gr = ptlg --graph --all
oo = commit --amend --no-edit
sta = stash -u
stp = stash pop
ex = !gitex.cmd
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[status]
showUntrackedFiles = all
[log]
abbrevCommit = true
[push]
default = simple
[pull]
rebase = true
[fetch]
prune = false
[rebase]
autoStash = false
[branch "main"]
mergeOptions = --no-ff
[branch "master"]
mergeOptions = --no-ff
[branch "dev"]
mergeOptions = --no-ff
[branch "develop"]
mergeOptions = --no-ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment