简体   繁体   中英

git workflow: local and remote branches

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM