Maintain continuity in Git repo when a file's name changes -
Maintain continuity in Git repo when a file's name changes -
i have codebase of javascript files utilize drive web site. synchronize many files in deployment, name files appended version number. have "master" file contains current version numbers different components. used generate script tags in html file.
i have codebase set git repository. because of way managing version numbers, time deploy new file set, issue
git mv file.old-vers.js file.new-vers.js this works in general, except git treats finish new file, , lose history of changes.
question: there way tell git maintain continuity? (i.e. though file name has changed, remains same entity)
git log can track renames. seek git log --follow path/to/file.
git
Comments
Post a Comment