Thanks! Actually, the -- should be removed and the filename is the actual name of the file that you want to be follow. So an example would be
git log --follow package.json
If 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.
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
?