Set git aliases for productivity
Set convenient git aliases. They pay off the effort. Modify your global [recommended] or local git aliases. You need to edit .gitconfig
file.
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
ds = diff --staged
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local
ls = ls-files
unstage = reset HEAD
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard