This is hard to format in the ideal manner that StackOverflow most appreciates:
I would like to use iPython Notebook along with a Git / GitHub repository. This is challenging due to the constant merge file clashes due to "nonsense" file changes. Is there some way to overcome that?
Specifically, I may run someone else's code, but re-run lines that they didn't, or vice-versa. Therefore, my [In: ]
and [Out: ]
numbers will not match up, and every time I try to submit changes to a file, "false" same-line clashes will occur all the time.
I'm trying to get my organization to adopt reproducible reporting, but this hinders progress. Is there some way to turn off the checking for certain lines within Git? E.g., can I tell it to ignore any lines where the only difference is the number following [In: ]
and [Out: ]
?