Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

naming branches git

// 1. Start branch name with a Group word:
bug-logo-alignment-issue // the developer is trying to fix the logo alignment issue
wip-ioc-container-added // the branch relates to the task to add an IoC container in progress

// 2. Use Unique ID in branch names:
wip-8712-add-testing-module

// 3. Use Hyphen or Slash as Separators:
// GOOD:
feature_upgrade_jquery_version_login_module
// BAD:
featureupgradejqueryversionloginmodule

// 4. Git Branch with Author Name:
rajeev.bera_feature_new-experimental-changes

// 5. Avoid using numbers only:
// branch name 9912 only means more confusion and risk of mistakes, especially during merging with other git branches.

// 6. Avoid using all naming convention simultaneously:
/* Mixing and matching all Git branch naming conventions are not the best practice. It only adds confusion and complicates the overall processes.
A team should decide the naming conventions to use in work once, and stick to them. Consistency is the most critical thing. */

// 7. Avoid long descriptive names for long-lived branches:
// GOOD:
wip_feature_login_module // short, but it explains the purpose of this branch
// BAD:
wip_login_module_which_will_used_in_the_public_website // long and detailed. It is not necessary
Comment

PREVIOUS NEXT
Code Example
Javascript :: style font size javascript 
Javascript :: how to tell c++ a function exists before calling 
Javascript :: iterate over map key value javascript 
Javascript :: react native open link in browser 
Javascript :: Custom jquery validation messages 
Javascript :: Triplets summing up to a target value 
Javascript :: javascript check if elements of one array are in another 
Javascript :: update angular to specific version 
Javascript :: send multiple files using formdata jquery 
Javascript :: make keystore 
Javascript :: firebase timestamp 
Javascript :: google maps init map 
Javascript :: javascript array of zeros of n length 
Javascript :: is react case sensitive 
Javascript :: how to add button in canvas html5 
Javascript :: open a html file using js 
Javascript :: javascript replace last character 
Javascript :: difference between slice and splice 
Javascript :: powershell json = get value by key 
Javascript :: call function in javascript from html 
Javascript :: javascript submit a form with id 
Javascript :: getcollectionnames 
Javascript :: click outside box jquery 
Javascript :: set image as background react 
Javascript :: js get date in yyyy-mm-dd 
Javascript :: exceljs read file 
Javascript :: set css variable from javascript 
Javascript :: find class using jquery 
Javascript :: device width js 
Javascript :: geofencing javascript example 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =