github - Git Hooks: Need to change a string when you merge with master -


i trying make git hook called before git merge change strings in code. can have development branch solely development , master branch resemble production. thinking post-merge script used, check see if merge master , changes. otherwise wouldn't thing. best idea?

edit: need way change strings in file git knows about. in file foo.txt want change line 4 different string.

i might use pre merge script, before me merging development branch master can suffix development, major bug, patch before merge master. if automated release notes ll fetch info , easy follow went release.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -