less than 1 minute read

edit the file: $HOME/.gitconfig

[code language="bash"]
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
[user]
name = XXX
email = XXX
[push]
default = simple
[core]
excludesfile = /home/JohnDoe/.gitignore_global
[/code]