All Projects → stevenharman → Git_tracker

stevenharman / Git_tracker

Licence: mit
Some simple tricks that make working with Pivotal Tracker even better... and easier... um, besier!

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Git tracker

Upload To Release
A GitHub Action that uploads a file to a new release.
Stars: ✭ 144 (-13.25%)
Mutual labels:  workflow
Batchflow
BatchFlow helps you conveniently work with random or sequential batches of your data and define data processing and machine learning workflows even for datasets that do not fit into memory.
Stars: ✭ 156 (-6.02%)
Mutual labels:  workflow
Octodns
Tools for managing DNS across multiple providers
Stars: ✭ 2,090 (+1159.04%)
Mutual labels:  workflow
Zeebe
Distributed Workflow Engine for Microservices Orchestration
Stars: ✭ 2,165 (+1204.22%)
Mutual labels:  workflow
Etl unicorn
数据可视化, 数据挖掘, 数据处理 ETL
Stars: ✭ 156 (-6.02%)
Mutual labels:  workflow
Yii2 Workflow
A simple workflow engine for Yii2
Stars: ✭ 157 (-5.42%)
Mutual labels:  workflow
Precommit
pre-commit hooks for R projects
Stars: ✭ 141 (-15.06%)
Mutual labels:  workflow
Welabx G6
welabx - antv G6
Stars: ✭ 163 (-1.81%)
Mutual labels:  workflow
Git Town
Generic, high-level Git workflow support!
Stars: ✭ 1,937 (+1066.87%)
Mutual labels:  workflow
Sflive Paris2016 Workflow
Demo app for the new symfony/workflow component
Stars: ✭ 160 (-3.61%)
Mutual labels:  workflow
Workflow Reactjs
My workflow with ReactJS + Webpack 3+
Stars: ✭ 150 (-9.64%)
Mutual labels:  workflow
Alfred Reddit
Browse Reddit from Alfred
Stars: ✭ 155 (-6.63%)
Mutual labels:  workflow
Camunda Bpm Platform
Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Spring, Spring Boot, CDI.
Stars: ✭ 2,390 (+1339.76%)
Mutual labels:  workflow
Workflow
一个工作流平台
Stars: ✭ 1,888 (+1037.35%)
Mutual labels:  workflow
Dnscontrol
Synchronize your DNS to multiple providers from a simple DSL
Stars: ✭ 2,089 (+1158.43%)
Mutual labels:  workflow
Actionsflow
The free Zapier/IFTTT alternative for developers to automate your workflows based on Github actions
Stars: ✭ 2,243 (+1251.2%)
Mutual labels:  workflow
Machine Learning Workflow With Python
This is a comprehensive ML techniques with python: Define the Problem- Specify Inputs & Outputs- Data Collection- Exploratory data analysis -Data Preprocessing- Model Design- Training- Evaluation
Stars: ✭ 157 (-5.42%)
Mutual labels:  workflow
Fastmac
Get a MacOS or Linux shell, for free, in around 2 minutes
Stars: ✭ 1,953 (+1076.51%)
Mutual labels:  workflow
Diagram Maker
A library to display an interactive editor for any graph-like data.
Stars: ✭ 2,086 (+1156.63%)
Mutual labels:  workflow
Expand
DevExpress XAF extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
Stars: ✭ 158 (-4.82%)
Mutual labels:  workflow

GitTracker

Gem Version Build Status Maintainability Test Coverage

GitTracker, or git-tracker, is a Git hook that will scan your current branch name looking for something it recognizes as a Pivotal Tracker story number. If it finds one, it will automagically add it, in the special format, to your commit message.

Installation

1) Install the git-tracker binary

You need to get the git-tracker binary onto your system.

  • via Homebrew 🍻 (preferred)

    $ brew install git-tracker
    
  • via RubyGems 😔 (if you must)

    $ gem install git_tracker
    

2) Initialize the hook

Then you need to initialize the git hook into each local Git repository where you want to use it.

# from inside a local Git repository
# for example: /path/to/repo/
$ git tracker init

This will put the prepare-commit-msg hook in the /path/to/repo/.git/hooks directory and make it executable.

NOTE: The hook needs to be initialized just once for each repository in which you will use it.

Usage

With the hook initialized in a repository, create branches being sure to include the Pivotal Tracker story number in the branch name.

$ git checkout -b a_useful_and_helpful_name_8675309

When you commit, Git will fire the hook which will find the story number in the branch name and prepare your commit message so that it includes the story number in the special Pivotal Tracker syntax.

# on branch named `best_feature_ever-8675309`
$ git commit

Will result in a commit message something like: (notice the two empty lines at the top)

[#8675309]
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch best_feature_ever-8675309
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
# new file:   feature.rb
#

You should then add a useful and responsible commit message. ❤️

Passing commit messages via command line

If you pass a commit message on the command line the hook will still add the story number, preceded by an empty line, to the end of your message.

# on branch named `best_feature_ever-8675309`
$ git commit -m'Look at this rad code, yo!'

Results in this commit message:

Look at this rad code, yo!

[#8675309]

However, if you include the story number in the Pivotal Tracker format within your commit message, the hook will do nothing.

# on branch named `best_feature_ever-8675309`
$ git commit -m'[#8675309] Look at this rad code, yo!'

Results in this commit message:

[#8675309] Look at this rad code, yo!

Keywords

You can use the custom keywords that Pivotal Tracker provides with the API.

The keywords are fixed, completed, finished, and delivered in square brackets. You may also use different cases and forms of these verbs, such as Fix or FIXES.

If you use those keywords in your commit message, the keyword will be prepended to the story ID in the commit message.

For example:

# on branch named `bug/redis_connection_not_initializing_8675309`
$ git commit -am "Change the redis connection string [Fixes]"

Results in this commit message:

Change the redis connection string [Fixes]

[Fixes #8675309]

Valid branch names

GitTracker allows you to include the story number any where in the branch name, optionally prefixing it with a hash (#). Examples:

  • best_feature_ever_#8675309
  • best-feature-ever-8675309
  • 8675309_best_feature_ever
  • #8675309-best-feature-ever
  • your_name/8675309_best_feature_ever
  • your_name/#8675309_best_feature_ever

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my_new_feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my_new_feature)
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].