Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah and it’s actually decent.

That being said I don’t mind committing often. If I have a slew of small commits I squash them.

Since I will need to commit at some point, I rather do it incrementally.



Committing removes the diff view in PyCharm, and I can't lose that.

By "diff view" I mean I can see all the changes I've done from the main branch.


Personally, when I'm ready to submit a pull request, I usually do a soft reset to the point where I branched off from, then redo my commits and force push to the branch, for exactly that reason. I can't remember exactly which lines I've changed over the past few days unless I see all the diffs together.


Interesting idea...

I suppose I can stash my current code, reset to where I started somehow, and then unstash.

I've also toyed with the idea of having two repos on my disk.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: