質問

I have a quick question regarding local and remote branches in git. Is it common practice for your local branches to be mirrored on your remote repository? It seems to me as though this would make sense, so what reasons would there be for having different branch structures on your local/remote repositories?

Thanks!

Jim

役に立ちましたか?

解決

Personnaly I do so, so its easier to merge them later.
Depends also of your repository server, if it has server-side merging capabilities or not.

But essentially, it depends of who is managing the projects and if you are alone or not pushing commits on the server and if so if these branches are worth being seen and used.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top