Giter Site home page Giter Site logo

christian-nunnally / git-chains Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 6.79 MB

A git tool that guides you through maintaining chains of branches so that you can easily create small PR's while continuing to develop a feature

License: MIT License

Python 100.00%

git-chains's Introduction

git-chains

A git tool that guides you through maintaining chains of branches so that you can easily create small PR's while continuing to develop features

Features

  • Visualize git history as a tree instead of a DAG
  • Teaches how to leverage git to write better software
  • Keep PRs small and focused by chaining branches together

Workflow

Git Chains is a tool to help use a git branch chain workflow. The git branch chain workflow involves seperating unrelated changes into seperate branches to make code reviews small, and thereby both higher quality and faster. The most common case when you would want to seperate an already small feature into multiple branches is when some refactoring has to or should be done before implementing the feature. This common workflow is described as so:

  1. Start feature work on branch feature.
  2. Realize some refactoring should be done
  3. Create refactor branch and commit refactor
  4. Merge refactor into feature
  5. Post PR for refactor
  6. Continue working on feature ...
  7. Get feedback on refactor
  8. Commit feedback to refactor
  9. Merge refactor in to feature

Installation

  1. Download the dist folder from this repo
  2. Put it somewhere on your computer and add it to your path
  3. Done! Try running git chains from your repository

git-chains's People

Contributors

christian-nunnally avatar

Stargazers

Benjamin Healy avatar

Watchers

James Cloos avatar  avatar Benjamin Healy avatar

Forkers

arcticlinux

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.