I have a project with some sql files with queries. Every developer increments the content of these files (they never remove content).
I need a git command to get all the new lines on all .sql files made by all developers from my last commit.
git whatchanged -p
or git log -p
are probably what you want here. Either will show the diff-formatted changes introduced at each commit. There are additional options to limit the reporting to specific commits, or to specific files, or to format the output in different ways, see the respective manual pages for more information.
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