Skip to content

Branch Practices #23601

Discussion options

You must be logged in to vote
stonkers:

They’re wanting to start creating a branch for every dev iteration so they don’t have to merge multiple times to the master. This sounds crazy unruly to me.

That’s actually good practice, because it allows many people to work on many things in parallel without getting in each other’s way, and later merge their work. That’s basically what Git was made for. See Git - Branching Workflows for the general idea.

One thing to keep in mind coming from other workflows is that branches are cheap in Git. A branch is basically just a pointer to a commit that can get updated. Branch names holds no meaning to Git at all, you can use whatever works for your workflow. And personally I find…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enterprise Discussions related to GitHub Enterprise Cloud and Enterprise Server
2 participants