Hello all, I'm a newbie in git world, i want to ask how to solve my workflow problem, basically I have 2 computer, one in office and one in home, and I'm also have a vps working as my git shared repository. When I work at office, I have unfinished code, and I want to continue my work at home, so usually I'll commit first at office and push my work into git shared repository, and after that I'll pull back at home and continue it.
But sometimes, I just didn't straight go home, and in the meantime, one of my co-worker, pull the code and work with it, and he just yell at me because I committed broken code. So my question is, how do I change computer without committing but I still get my unfinished work ?