re: How to organize your git branches VIEW POST


I've also seen author initials used to prefix the branch.
John Smith work on ticket FOO-42 -> js/FOO-42-doing-cool-stuff
Cannot say it's a way to go, but it has some pros


Git already has a mechanism to prefix author initials... remotes. If you need to segment branches by author, I would humbly submit that you ought to be using forks.


This assumes you're using github. If you're bound to a central repository in an enterprise scenario, there's generally only 1 repo per project and forks aren't a thing.

Note: They should be a thing, but most enterprises also don't "get" source control, of any kind. Using author initials to supplement a gui is almost as bad an idea as using the commit title line to track project management information.

code of conduct - report abuse