My shortcuts to use with git, jira and stash
Install and configure this:
Start working on jira issue:
git start ISSUE-ID
This will:
- Create a local branch with ISSUE-ID as name, ISSUE-SUMMARY as branch description
- Change to this new branch
- Create a remote (origin) branch with same name
Make your commits using:
git cbissue "BLA THIS IS MY COMMIT"
This will:
- git commit -m "ISSUE-ID - ISSUE-SUMMARY - commit: BLA THIS IS MY COMMIT"
Stop working on issue:
git stop
This will:
- Push to origin
- Create a pull request
- Comment on jira with pull-request URL
Current version don't change issue to working. That can be done adding to start, stop
jira start $BNAME
jira stop $BNAME
Also add option to close issue with stop
I think isn't hard convert to other tools