Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug: Editing in multiple windows causes edits to overwrite #283
Observed behavior is edits from multiple windows/multiple machines, if not aggressively refreshed can overwrite each other. This shows up as deletions in the git history.
While somewhat obscure - my most common (personal) editing flow is to open 2 tabs on 2 screens - one I tend to use to look at stuff in the file, and the other to edit. Or switch between a work and commuting laptop - in both of those scenarios I unintentionally overwrote previous edits.
Some kind of attempted merge if hashes didn't line up, or at least a warning would be preferable
This behavior has become increasingly problematic for projects with multiple people trying to edit specs (esp. when doing bug squash / tech editing) to the point where we have started funelling all edits through a single person - bypassing much of the benefit of using a tool...