4 ms·
You can add aliases to ~/.gitconfig (the file created by 'git config --global'). See mine: [alias] lg = log --graph --decorate llg = log --oneline -
by pyre 12y ago
You can add aliases to ~/.gitconfig (the file created by 'git config --global'). See mine:
[alias]
lg = log --graph --decorate
llg = log --oneline --graph --decorate
ll = log --oneline
dc = diff --cached
st = status --short
ci = commit
rb = rebase
br = branch
co = checkout
Then you can just run (e.g.):
$ git llg