Prefixing branches for organization

I just wanted to pass this along. Looks like a very useful tip for organizing branches that I haven’t found elsewhere.

Use a prefix for example your name:
dcookwebdev/branchname

Or

feature/bug134

Here’s the tweet I saw about it

2 Likes

Good tip. In the past teams I’ve worked for we’ve done something similar:

  • [initials]/branch-title-name example: nn/fix-header
  • [GitHub Username]/issue-[Ticket Number] example: @nicknish/issue-3412

Those have served me and the teams well because branch names rarely/are impossible to clash, and it’s clear what the code is about.

1 Like

Thanks nick! I haven’t used git with others too much yet but this just seems smart! :slight_smile:

1 Like