Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pilou97/yggit

 
 

Repository files navigation

Yggit

A tool to manage my git workflow.

It allows me to have one branch, and to associate a commits to a specific branch with a interface like the rebase one

How I am using it? What is my git workflow ?

First I am using git to have a beautiful history. To do so I am using git-rebase. My goal is to have a linear history and only incremental commits. IMO it's easier to review, and easier to manage when coding. By doing this exercice I've found out I am thinking a bit more before implemententing a solution

Then I will want to split my history in many branches, because a bug fix or a feature can be done in many steps, so in many branches.

To do so I just have to run yggit push

A rebase like interface will open with the editor specified in your git configuration.

Do not edit/move your commit in this editor, it won't have any effects.

Then if I want to push a specific commit on a specific branch I just have to write under the given commit:

-> mybranch-name

I can also specify a custom upstream:

-> origin:mybranch-name

Warning

Even if I use this project daily in my work day. It is poorly tested, use it at your own risk.

Acknowledgements

This project was greatly inspired by anger by d4hines.

About

Custom tool to manage my git workflow

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •