git log won't display error
git log [-- path]
is an awesome tool that allows you to see the commit logs for the entire repo or just a file at [path].
However if your path to the file isn't correct, git won't give you an error. It just displays nothing. So if you can't get a log to show up for a file, double check that the path is correct.
Written by Miles Matthias
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#