Skip to main content

A simple git extension to use git flow branching model automatically with Github and semver to tags your releases and hotfixes.

Requirements

  • git

  • Python 3.7+

  • Jira project already setup

How to setup

Installation

pip install git-glow

Configuration

Configuration begins during the first command.

For example, just request to start a new feature (according you already have a Jira project, with a “GLOW” key and a “GLOW-1234” ticket, otherwize a 404 error will be prompted at the end of this operation):

git glow start feature 1234

Following messages will be prompted, waiting an answer for each step:

Create a glow config? [Y/n] y
Jira Project Key? GLOW
Github Repository Name? [:owner/:name] nicolasramy/git-glow
Github Token? ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Start feature name: «feature/GLOW-1234» [y/n] y
  • Jira Project Key is a key that you chosed when you created your Jira project and you can retrieve as prefix of your Jira tickets (like GLOW-1234)

  • Github Repository Name is same as described in the prompted message: the_repository_owner/the_project_name

  • Github token is an access token you can set from your GitHub settings: https://github.com/settings/tokens. This token will require “Full control of private repositories” (repo checkbox when you create it). After being created, you just need to copy-paste the generated token.

If the configuration successfully registered and you think it was wrong, you can update it in the .git/config of your project. The following section should exist:

github-token = ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
github-repository-name = nicolasramy/git-glow
jira-project-key = GLOW

Usage

To use this command, just type git glow in a git repository with a develop and master branch.

Feature

git glow start feature 1234
git glow review feature 1234
git glow finish feature 1234

Release

git glow start release
git glow review release
git glow finish release

Hotfix

git glow start hotfix
git glow review hotfix
git glow finish hotfix

Metadata

Release files for git-glow 0.2.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-glow 0.2.12
File Size Uploaded
git-glow-0.2.12.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-glow 0.2.12
File Interpreter ABI Platform
git_glow-0.2.12-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 kB

Release files / git-glow-0.2.12.tar.gz

Download URL git-glow-0.2.12.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8780068f724b1eb5e6e55b340e2dd21e38ed356a28504ebc7e294bf398c9d873
BLAKE2b-256 checksum
How to use checksums
2bc0392c1ad46b3f8c7edbcd6d4cf6773d58bcd00d02965e099554b4b5b6d67f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / git_glow-0.2.12-py3-none-any.whl

Download URL git_glow-0.2.12-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6486aa679e514008aa9f13a07d2c7b5bb2c53e54938c62e1b35b95d8cc6d90c
BLAKE2b-256 checksum
How to use checksums
903b32e5c1963285f8c7a93336c08c84d8dbdd52743232422b1148a68cff43b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.2.12 This release

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.8

2 release files

0.2.6

2 release files

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page