JSarwer
JSarwer

Reputation: 313

Store changes on git repository without committing

I am working on 2 separate machines in 2 different places, but on the same stuff, using the same git repository. I'm wondering if there is a way to store unfinished work (kind of like a stash), so that I can access it from the repository regardless of my machine. If this is not a good idea/not possible, can somebody recommend any practical solutions to this problem?

Upvotes: 0

Views: 171

Answers (1)

Ondrej Slinták
Ondrej Slinták

Reputation: 31970

Just create a branch. Later, when you decide you are finished with whatever you do, you can squash these commits and merge them back to master.

Upvotes: 4

Related Questions