This includes cases where the file has been renamed.
git log --follow filename.ext
More on Stack Overflow: git log --follow, show all commits including merges
This includes cases where the file has been renamed.
git log --follow filename.ext
More on Stack Overflow: git log --follow, show all commits including merges
For further actions, you may consider blocking this person and/or reporting abuse
Garvit Gupta -
Aishwarya Raj -
daniel-octomind -
Ahmed Moussa -
Top comments (3)
No space beetwen
--
andfilename
Thanks! Actually, the
--
should be removed and thefilename
is the actual name of the file that you want to be follow. So an example would beIf the filename cannot be followed, Git will present you with a
fatal: ambiguous argument 'package2.json': unknown revision or path not in the working tree
error.I am going to update the snippet. Let me know if you pick up any funnies with what I just posted.
Guess little tease is fine........
package2.json
orpackage.json
?