I renamed a lot of files in a git repository without moving them to another directory. Is it possible to get a "rename list" so that I can update the file where all those files get referenced?

Background: I have a docbook documentation and I have many images that I had to rename. Now I like to substitute in the docbook xml all old filenames with the newer ones.

Thanks

有帮助吗?

解决方案

Thanks to hindol for the answer:

The stackoverflow answer was posted in this thread:

Using this information I was able to create a rename list and then after a little scripting in python I could rename the files in the working copy.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top