WobblyPotato
WobblyPotato
27mo

How do you guys name git branches

In our current project, it is like feature/123-brief-feature-name If it is a bug, it usually is bug/123. 123 represents the ticket number.

Would love to hear what everyone else is using

27mo ago
DizzyNarwhal
DizzyNarwhal
27mo

I prefer feature/<JIRA_No> , bugfix/<JIRA>, hotfix/<> so on

WobblyDumpling
WobblyDumpling
27mo

Jira ticket number

WobblyPotato
WobblyPotato

Just jira ticket number?

WobblyDumpling
WobblyDumpling
27mo

Yup

MagicalNoodle
MagicalNoodle
27mo

EmployeeId_JIRA-NO/INCIDENT-NO/<RandomFixName>

SwirlyPenguin
SwirlyPenguin

we have JIRA_NO-<your-branch-name> where jira no will open jira when clicked and we have some release pipeline that checks if that particular JIRA is merged or not if it is not, release won't happen.

PeppyKoala
PeppyKoala

<Project Name>-<Ticket No.>-<Few words so I remember while switching>

DizzyLlama
DizzyLlama

Jira ticket number that's it

FluffyNugget
FluffyNugget
27mo

<jira_no>-watever

ZippyRaccoon
ZippyRaccoon

We use Linear for task management, and Linear provides branch names which we use

GoofyDonut
GoofyDonut

Ah, naming. The hardest task in all of programming!

SparklyBiscuit
SparklyBiscuit
27mo

fb_<meri-marzi>

Discover more
Curated from across