Skip to content

Instantly share code, notes, and snippets.

@nmpegetis
Last active December 20, 2018 19:58
Show Gist options
  • Save nmpegetis/8d8f93ffa5dd83c90f6bd55ee530eb00 to your computer and use it in GitHub Desktop.
Save nmpegetis/8d8f93ffa5dd83c90f6bd55ee530eb00 to your computer and use it in GitHub Desktop.
git checkout dev/<featureA>
git fetch -p
git merge

# create new branch
git checkout -b <new branch> #(convention: <new branch> should follow this instruction: dev/<featureA>$<type-of-change>/<name-of-feature-or-component-affected-by-changes>)
# e.g. git checkout -b dev/featureA$feat/Login

# optionally, just to verify you are in the correct branch
git status # or git branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment