Package Exports
- hgit
- hgit/bin/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hgit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hgit
a git workflow cli tool
Streamline and Simplify complex git processes

Features
- check for
conflictbetween multiple remote branch - start new workflow with
__preand__postconfig - *all git commands are read from the config file
~/.config/hgit/config.json dynamic branch checkoutin workflows with command:git_pick_{pattern}branchNamePatternfrom config:{branchName}__branch_pattern
TL;DR
The Default configs
| branch | create from | can sync from | branch name |
|---|---|---|---|
| flight | master | master, flights | flight-{description} |
| hotfix | master | master | hotfix/{taskId}-{description} |
| feature | flight | same flight | feature/{taskId}-{description} |
| bugfix | flight | - | bugfix/{taskId}-{description} |
| other | flight | - | other/{taskId}-{description} |
Hotfix branch:
- Can only be created from
master - While branch in active, can sync from
master - Cannot take pull from
dev - Should not take pull from another
feature / flight / hotfixbranch
Flight branch:
- Will only be created from
master - Can sync from
master - Cannot sync from
dev
feature/bugfix/other in Flight (Child branch -> Flight branch):
- Task branches (feature/bugfix/other) should be created from the
Flightbranch - Cannot take pull from any branch but
Flightbranch - Can take pull from a sibling branch of the same flight if it depends on it
Flights(trunk)
- flight is for the features, bugs, and improvements corresponding to the flight (epic) in the
BugTracking system - Ticket branches can be created from a flight branch.
- There are 3 ticket branch prefixes: feature, bugfix, and other. These branches require a
BugTracking task IDin their names.
featureis for the small packed features inside the flight.bugfixis for the fixes and issues related to the flight.otheris used for non-technical issues like documentation or infrastructure improvements, etc.
Hotfix
- hotfix is dedicated to fixes regarding critical issues in the production environment.
npx
npx hgitInstallation
npm i -g hgitUsage
hgitOptions
--verbose | verbose logs