3 ms·
You can add aliases to your ~/.gitconfig. These are mine [alias] co = checkout br = branch ci = commit st = status ll = log --pretty=format:'%C(
by dsego 9y ago
You can add aliases to your ~/.gitconfig. These are mine
[alias]
co = checkout
br = branch
ci = commit
st = status
ll = log --pretty=format:'%C(magenta)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold cyan)<%an>%Creset'
lg = log --graph --pretty=format:'%C(magenta)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold cyan)<%an>%Creset'
- bowmessage 9y agoYeah, aliases are great for those of us who have had the exposure necessary to learn about all kinds of flags and features. But I think the default `git log` view could do with a lot of improvement to help out newer git users.