I'm new to the git world, I want to ask how to solve my workflow problem, basically I have 2 computers, one in the office and one in the house, and I also have vps working as my git shared repository. When I work in the office, I have incomplete code and I want to continue my work at home, so I usually take over the work in the office and push my work to the general git repository, after which I will return to home and continue with it.
But sometimes I just didn’t return home, and in the meantime, one of my employees pulled out the code and worked with it, and he simply yelled at me because I had committed a broken code. So my question is: how can I change my computer without committing, but am I still getting my work in progress?
source
share