Hi all,
I have a local branch for day-to-day dev work in git. My workflow is:
- Do stuff on local_branch, commit
- Fetch origin/master
- Rebase local_branch to catch up with new stuff from origin/master
It all works fine, however most of the recommendations I encountered say that one should not "push" private branches, on which rebase is regularly performed.
The problem here is that in this case local branch is not backed up to a server and the only way to save the work is to merge it back to "pushable" branch (i.e. origin/master)
What would be your recommendations on the workflow in this case?
The preference is to avoid usage of external backup utilities and use just git.
Thanks!
UPD: I have actually found that one of the former requirements put in my question - avoid usage of external utilities - is actually unnecessary limiting. I found that when I use DropBox with my repositories it's actually quite nice and requires no effort to backup stuff - it's all done automatically.