So for example we have project on git and one file is responsible for various configurations, everyone must change that file locally to make project build on local machine, but at the same time they want to pull that file when some global configuration is changed.
So currently we memorize our local changes, checkout, pull, reapply changes.
It would be nice if git could handle portion of the file like local specific and ignore that during pull/push merging.
Various configuration files have different comment sections, so if git could check if comment line contains some keywords like this:
##### GIT IGNORE SECTION STARTS, PUT LOCAL CHANGES HERE #####
.. add local changes
##### GIT IGNORE SECTION ENDS #####
or this
/* GIT IGNORE SECTION STARTS */
.. add local changes here
/* GIT IGNORE SECTION ENDS */
so git would just look for keyword "GIT IGNORE SECTION" and ignore all between those tags...
is there something like that already?