I very often work on some features of my project that I need to take a break before it is good enough for a commit. However, I use daily two different computers to code (my laptop and my research lab desktop). E.g.: I am working on a feature at home, then I stop and go to my lab.
I don't want to mix cloud syncing (e.g. Dropbox) with GitHub remote tracking.
I've simply committed unfinished (and messy) states of my code before (and pushed it) only for the purpose of pulling that in the other computer to continue the work. I am pretty sure this a bad practice.
Today, though, I came across git stash
after Googling a little bit. It seems as the perfect solution for what I need.
However, the documentation doesn't say if it goes to github once I push my changes. Besides that, I want to know if there's a more efficient way to accomplish the mobility that I need.
Thanks in advance!