I would like to revert an older git known commit (not the last one, already pushed to upstream), but would like to affect only certain file types, e.g. *.java
. Other changes, such as changes to files of type *.xml
I would like to keep.
Any downstream changes to *.java
files should be undone as well.