workon

command module
v0.0.0-...-749a620 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 6 Imported by: 0

README

workon

JIRA / Gitflow Tool to:

  • checkout a new branch from the current branch (e.g. git workon TEAM-1234/part1 ➡️ feature/TEAM-1234/part1)
  • assign the corresponding JIRA Issue to yourself
  • move the corresponding JIRA Issue to In Progress status

By default, the branch name will be prefixed with feature/, but this can be overridden by setting the GIT_WORKON_PREFIX environment variable to something else. You can even set it to the empty string to have no prefix.

So for example, if you run:

git workon TEAM-1234

It will:

  • perform a git checkout -b feature/TEAM-1234
  • assign TEAM-1234 issue to you
  • set TEAM-1234 to "In Progress" status

You can also add a free form suffix like:

git workon TEAM-1234/part2

It will:

  • perform a git checkout -b feature/TEAM-1234/part2
  • assign TEAM-1234 issue to you (if it is not already)
  • set TEAM-1234 to "In Progress" status (if is not already in that status)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL