Skip to content

Branches naming conventions #24

Answered by mdwiltfong
ivavay asked this question in Q&A
Discussion options

You must be logged in to vote

That's a good question. I'm going to answer this in parts.

  • Typically I reference the issue number in the branch name plus my gh username. That way, when people are looking through the branches of the repo, they see what this PR is for, and who made it.
  • Making a new branch for every commit is way too much. When you make a branch, it's to create a pull request to resolve an issue. You can think of it as telling a story. What story does this branch/pr tell? If you your branch/pr is too convoluted then it will be harder for people to review it. For many reasons. One, they'll probably have too many questions that may involve context switching, and if your PR touches a lot of pieces of code, t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ivavay
Comment options

Answer selected by ivavay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants