if I have local debug code or development web services in my sources, I want me to carry medium and long-term local information, but I don't want this in my git repository, what is the best way to accomplish this?
while I just leave it alone, partially transfer partial files, avoiding these lines, and do a series
git stash git pull --rebase git stash pop
when there are divergent changes, etc.
Assuming that I cannot or do not want to change the structure of the code to output these lines to a file that can be included and / or ignored, how do you deal with this type of situation?
local changes to the Makefile are discussed here, which is similar to the main idea I want, but most of the suggestions are on how to get around it, and not in a very satisfactory way.
I think I'm looking for something like .gitignore for a set of changes.
source share