3 ms·
if you use an IDE with local history support like PyCharms or Webstorm, you can view every single save and every line of code you changed. It works just like gi
by notastartup 12y ago
if you use an IDE with local history support like PyCharms or Webstorm, you can view every single save and every line of code you changed. It works just like git diff.
- icholy 12y agoYou don't know what you're missing
- jyu 12y agoNow what happens when you are working with one other person using only local history support? What about ten people? What if someone is a bozo programmer and screws up your code accidentally?
- ithinkso 12y agoDo not generalize here, what if he is working alone?
- pjc50 12y agoHow does "local history" interact with the other developers on the project?
- deleted 12y ago[deleted]
- rbonvall 12y agoGit is not just about git diff. For example, it gives you the ability to find which changeset introduced a regression by doing a binary search on the history and running tests automatically on each revision. The culprit could be a change made months ago. To do so on an IDE with local history, you'd have to Ctrl-Z backwards all changes (not meaningful commits, but even small changes) linearly.
- dmiladinov 12y agoOh come now, that's just an extra safety net. Don't take IDEA local history as a replacement to version control, rather a supplement.
- dragonwriter 12y agoThat seems like it probably is a passable solution for simple linear history (in certain, single-developer, contexts), but it doesn't sound like it offers much for branching, which I would think you would often end up wanting with most real software even in single-developer set ups.