I made some changes to an open source project without taking time to create proper patch files.
Now, the maintainer of the project released a new version, and among new and edited files, there are a bunch of renamed files.
What is the best way to apply my changes to the new version ?
I’m completely new to diff/patch use, and If I can get it done with git, it would be better.
If you have two directories
aandbthat are similar, and you wantbto be the same asa, you can create and apply a patch with:Suppose you have directories
local(containing your local version of upstream1.0),upstream1.0, andupstream1.1. To create and apply your changes toupstream1.1:Check the documentation for patch, and try to convince the upstream maintainers to use git. Things will be much simpler if you can use git tools to work with your local repository.