Or use sourcetree
Git log – The good parts
11–20 of 86 posts
Re: Git log – The good parts
#12Or use sourcetree
Sourcetree is awful and slow. There is git gui by default, which is not perfect but IMO better that cli. I actually use Git Extensions for years now and could not find anything better.
Re: Git log – The good parts
#13"Remember that your version might do --all by default when output goes to the terminal instead of a file"
Which version of Git does --all by default?
Re: Git log – The good parts
#14Quote from article: "Remember that your version might do --all by default when output goes to the terminal instead of a file" Which version of Git does --all by default?
Re: Git log – The good parts
#15I would recommend tig for anyone looking for a cli git repo browser: https://jonas.github.io/tig/ Then there's no need to mess with git log and all its options.
Re: Git log – The good parts
#16Re: Git log – The good parts
#17For those increasingly rare times I'm not using Magit[0], I have a "git lg" alias I found once through HN[1]: git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) %Creset' --abbrev-commit" I strongly recommend both. -- [0] - https://magit.vc/ [1] - https://coderwall.com/p/euwpig/a-better-git-log
You can also drop `--abbrev-commit`, since `%h` abbreviates by default (use `%H` if you want the full hash).
Re: Git log – The good parts
#18Quote from article: "Remember that your version might do --all by default when output goes to the terminal instead of a file" Which version of Git does --all by default?
EDIT: Or not. It's off by default actually.
Re: Git log – The good parts
#19Or use sourcetree
Re: Git log – The good parts
#20Quote from article: "Remember that your version might do --all by default when output goes to the terminal instead of a file" Which version of Git does --all by default?
The ones distributed in Ubuntu and MinGW do. Probably many others as well. EDIT: Or not. It's off by default actually.
If this is indeed true, how do they achieve this? Do they modify git source code to achieve this?