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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -