You are on page 1of 8

Become better at

GIT
Ankit Pangasa
5 TIPS
FOR BETTER
GIT
BRANCHES
NAMES

Ankit Pangasa
Avoid only
Numeric
names
Only numbers will make
it difficult to deduce
what the branch deals
with.

980909099
Would you like seeing a branch name like
above?

Ankit Pangasa
Short and
Simple
Having non precise
and long names just
makes the name look
more ugly

branch_234_add_support_to_sort_all_the_nu
mbers_in_ascending_order

Ankit Pangasa
Use hyphen
or
underscore
Using these
characters make the
names more readable.

bug234addingdependencies

bug_234_adding_dependencies

Ankit Pangasa
Specify
branch
intent
Using branch intent
helps anyone
understand what the
branch is dealing with

123_adding_ui_elements

feature_123_adding_ui_elements

Ankit Pangasa
Use Author
Name
Branches with Author
name helps people to
quickly identify author
from the branch name
itself

<authorName>_<ChangeType>_<ShortName>
john_bug_fixBannerPosition

Ankit Pangasa
THANK YOU

Ankit Pangasa

You might also like