What is the easiest way to determine in which commit a particular file was added to the repo?
It is easy. following command shows first commit that file was added to the repo.
git log --oneline filename | tail -1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With