Git Workflow: Share code between computers without pushing to public repo

后端 未结 3 953
你的背包
你的背包 2021-02-07 07:07

I work at a company which uses Git for our version control. We\'re using a hosted repo service (Beanstalk) as our internal \"public\" (by that I mean accessible to the whole dev

3条回答
  •  失恋的感觉
    2021-02-07 07:37

    I don't see why you cannot create temp working branches that are clearly indicated as such on the remote repo, but if you want an alternative and both computers are connected by network and accessible via ssh, you could possibly set up either or both of them as additional remotes and push from one to the other in any direction. It may be confusing to get it right the first time though as you do not want to push to the wrong remote.

提交回复
热议问题