Git & Atlassian

From Briki
Revision as of 14:55, 5 December 2014 by Andrew (talk | contribs)
Jump to: navigation, search

Simple workflow

  • Create JIRA issue
  • Click "Create Branch" on JIRA issue (check source branch)
    • This will transition the JIRA issue to In Progress
  • git fetch
  • git checkout branchname (this will automatically create the new branch locally, based on the new remote branch)
  • Make changes
  • git commit -am "My commit description"
  • git push
  • Create pull request
    • This will transition the JIRA issue to In Review
  • Merge on build success, and optionally delete branch
    • This will transition the JIRA issue to Done
  • Delete branch locally if desired, with git branch -d branchname