It is very common to configure your ~/.gitconfig file. Here are the essential ones:
~/.gitconfig
Personal info:
[user] name = Francisco email = franlucas@gmail.com
Add color:
[color] ui = auto
Editor:
[core] editor = sub -w
Improved log:
[alias] lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
Improved cleaning:
[alias] cleanall = clean -fxd
Update submodules recursively:
[alias] sup = submodule update --init --recursive
There was an error while loading. Please reload this page.