PUSH all local GIT branches? Best Practice?

前端 未结 3 1571
轮回少年
轮回少年 2021-02-14 17:32

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:32

    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.

提交回复
热议问题