문제

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