GithubHelp home page GithubHelp logo

third-dev / git-story Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmware-tanzu-labs/git-story

0.0 0.0 0.0 3.5 MB

Manage your code branches with story information from Pivotal Tracker

License: MIT License

Go 98.12% Shell 1.88%

git-story's Introduction

git-story

So you've got a git branch, and it's in support of a particular Pivotal Tracker user story, so you put your story ID at the end of your branch name.

With the power of git-story, this allows you to:

  1. Open the story for the current branch in your browser
  2. Delete old branches for stories that have already been accepted
  3. Automatically unsubscribe from unwanted spam emails
  4. Be reminded if you haven't watered your plants recently

At least, it will, some day.

Installation

  1. Configure your Pivotal Tracker API token
export TRACKER_API_TOKEN="YOUR PIVOTAL TRACKER API TOKEN" # https://www.pivotaltracker.com/help/articles/api_token/
  1. Setup the homebrew tap and install git-story
$ brew tap git-story-branch/tap
$ brew install git-story

Usage

git-story is useful when your git branch name ends in the story ID of the Pivotal Tracker story you're working on:

$ git checkout WIP-some-story-1234567890

git story-view : view the details of a story

$ git story-view
State: delivered
Description goes here...

git story-open : open the story URL in your default browser

$ git story-open

Contributing to Git-Story

We use ginkgo for testing.

To build the CLI tools:

go build -v -o . ./cli/...

To run:

# assuming the library has been built and you're in a branch that has a story ID at the end...
./git-story-view
./git-story-open

git-story's People

Contributors

carpeliam avatar ahaldeman avatar cnazario-vmw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.