2 of 2
added 138 characters in body
retrodev
  • 387
  • 3
  • 8

How to sync a dirty private git branch between personal workstations

I have a git repo on the internet and two workstations. Other developers have access to the git repo.

Workstation A is at the office and is not accessible from the internet, but can push/pull the git repo. Workstation B is at home.

I'm working on a private local branch on Workstation A and have to leave for home when it's in a dirty state. I want to continue working at home on Workstation B.

What is the best way to sync my dirty private branch to Workstation B?

EDIT:

In this context dirty means work that I don't think is complete. How would the flow differ for committed vs uncommitted work?

retrodev
  • 387
  • 3
  • 8