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
Post a Comment