How to back up private branches in git

前端 未结 7 2165
遇见更好的自我
遇见更好的自我 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:23

    Here's what I do. But - this isn't private. I do this so that I can collaborate with myself (so to speak). It lets me work on the same branch on two or more boxes. if other people had access to the shared repo, they could see the work I'm doing on the branch. Of course, on my home repos, nobody else has access, so it's still private. On github, all the world could see my stuff. Like they really care. ;)

    0 讨论(0)
提交回复
热议问题