Create a gist now

Instantly share code, notes, and snippets.

@dakull /branching.md
Last active Apr 14, 2016

What would you like to do?
Git: naming branches

Examples

I'm working on a feature in ticket 59:

git co -b feature/59/add-filtering

I'm working on a bug:

git co -b bug/101/template-error

For multiple tickets:

git co -b feature/101-104/multiple-tickets

For general purpose

git co -b feature/-/im-not-sure

The basic syntax is:

{type-of-ticket}/{ticket-number}/{small-description}

notes:

Please keep {small-description} to around 2..4 words for readability purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment