How to back up private branches in git

前端 未结 7 2208
遇见更好的自我
遇见更好的自我 2020-12-22 17:52

I have a local branch for day-to-day dev work in git. My workflow is:

  1. Do stuff on local_branch, commit
  2. Fetch origin/master
  3. Rebase local_bran
7条回答
  •  感动是毒
    2020-12-22 18:03

    Rather than relying on Dropbox to synchronize all the files of a git repo, I would rather use git bundle, which produces only one file (including all your private branches), and sync that file with DropBox.
    See "Git with Dropbox"

    In "Backup a Local Git Repository", Yars mentioned having sync errors with Dropbox.

提交回复
热议问题