PUSH all local GIT branches? Best Practice?

前端 未结 3 2118
[愿得一人]
[愿得一人] 2021-02-14 18:03

Should ALL locally created GIT branches be pushed to the central-repository on a daily basis? What is best-pracice workflow concerning this?

We created a GIT repository

3条回答
  •  时光说笑
    2021-02-14 18:22

    I prefer not polluting the central repo with all branches of all users.

    Don't mix:

    • publication workflow: what you choose to publish (push/pull to an upstream repo)
    • backup need: use a bundle (See "Backup a Local Git Repository"), that way you have only one file to copy to any remote drive you want.

提交回复
热议问题