Better file rename registration code7/13/2023 ![]() ![]() This is was my workflow: git checkout -b refactoringBranch Added and committed everything and then tried to merge.Dropped the changed structure inside the refactoringBranch, meaning I had my changes in some other dir and just copy-pasted them over my git repository.Created the refactoringBranch originating on master.# renamed: contracts/css/view.css -> public_html/contracts/css/view.css But out of 10000 files in the project half wasn't recognized as moved. Git status shows about half of files renaming recognition. Git merge -no-ff -Xrename-threshold=15 -Xpatience -Xignore-space-change refactoringBranch Files were moved chaosly, but the content was preserved. One branch ( refactoringBranch) had a complete directory restructure. ![]()
0 Comments
Leave a Reply. |