See .gitconfig
and .gitignore
below, to be placed in HOME directory.
# Useful
git config remote.origin.prune true
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
up = pull --rebase --autostash | |
ds = diff --staged | |
lg = log --oneline --graph --decorate | |
[core] | |
excludesfile = ~/.gitignore |
.idea |