https://git-scm.com/docs/pretty-formats
git config --list
git config core.editor code (configuring to use VsCode)
git config --global --edit (After you call to edit)
Below we can create some alias:
- git status - git s
- git commit - git c
- git log - git l
# This is Git's per-user configuration file.
[user]
name = Calaça
mail = @gmail.com
email = @gmail.com
[core]
editor = code --wait #wait file loading
[alias]
s = !git status -s
c = !git add --all && git commit -m
l = !git log --pretty=format:'%C(blue)%h %C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr'
[init]
defaultBranch = main
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f