https://github.com/cjpatoilo/gitfit
Git extensions to provide high-level repository operations for Git Feature Branch Workflow.
https://github.com/cjpatoilo/gitfit
git git-feature-branch git-workflow
Last synced: 8 months ago
JSON representation
Git extensions to provide high-level repository operations for Git Feature Branch Workflow.
- Host: GitHub
- URL: https://github.com/cjpatoilo/gitfit
- Owner: cjpatoilo
- License: mit
- Created: 2018-05-12T08:37:59.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T01:29:03.000Z (over 2 years ago)
- Last Synced: 2025-02-28T07:32:57.023Z (9 months ago)
- Topics: git, git-feature-branch, git-workflow
- Language: Shell
- Homepage: https://cjpatoilo.com/gitfit
- Size: 317 KB
- Stars: 17
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/contributing.md
- Funding: .github/funding.yml
- License: license
Awesome Lists containing this project
README
> Git Feature Branch Tooling.
[](https://travis-ci.org/cjpatoilo/gitfit?branch=master)
[](https://ci.appveyor.com/project/cjpatoilo/gitfit)
[](https://www.codacy.com/app/cjpatoilo/gitfit/dashboard)
[](https://david-dm.org/cjpatoilo/gitfit)
[](https://www.npmjs.com/package/gitfit)
[](https://www.npmjs.com/package/gitfit)
[](https://gitter.im/cjpatoilo/gitfit)
## Why it's awesome
The core idea behind the Feature Branch Workflow is that all feature development should take place in a dedicated branch instead of the master branch. This encapsulation makes it easy for multiple developers to work on a particular feature without disturbing the main codebase. It also means the master branch will never contain broken code, which is a huge advantage for continuous integration environments.
-- Inspired by [Git Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow) (@atlassian).
## Getting Started
**Install with Homebrew**
```sh
$ brew install gitfit
```
**Install with npm**
```sh
$ npm i -g gitfit
```
**Install with Yarn**
```sh
$ yarn global add gitfit
```
**Run with npx (without installing)**
```sh
$ npx gitfit []
```
## Usage
```
Usage:
$ gitfit []
Options:
-h, --help Display help information
-v, --version Output version
init Initializy repository
start Start new feature branch
finish Finish feature branch
publish Publish master branch or feature branch
Examples:
$ gitfit init
$ gitfit start
$ gitfit finish [] # default: master
$ gitfit publish [] # default: current branch
```
## Contributing
Want to contribute? Follow these [recommendations](https://github.com/cjpatoilo/gitfit/contribute).
## License
Designed with ♥ by [CJ Patoilo](https://twitter.com/cjpatoilo). Licensed under the [MIT License](https://cjpatoilo.com/license).
