I've implemented a new functionality for my program in a Func1.cpp file, in the Func1
branch. Then I created one more functionality - in the file Func2.cpp -, but I forgot to create in a separate branch Func2
. Now I'd like to separate a branch for each feature.
To do this, I need to know which commits changes the Func1.cpp file and which changes Func2.cpp. So I can make a rebase --interactive
to then separate the branches.
I've tried git show <SHA1>
, but it shows me diff
information I do not need.
Question: How can I find out which commits changes which files?