⚡ [[ Poject moved to npm/mxflow ]]
- Node 16.x
sample-generated-config-file
config_version: 0.47.0
graph_git_log_limit: 40
issue_tracker: jira
issue_tracker_tenant: metaory
sleep_between_commands: 1000
workflows:
foo:
description: example placeholder
pattern: '{branchType}/{taskId}-{description}'
steps:
- git fetch origin
- git checkout master
- git merge origin/master
- git checkout -b {branchName}
- git status
- confirm git push --set-upstream origin {branchName}
- list logs
bar:
description: example placeholder
branch: xorg/{description}
steps:
- git fetch origin
- git checkout master
- git merge origin/master
- autocomplete checkout xorg
- git checkout -b {branchName}
- git status
- confirm git push --set-upstream origin {branchName}
- list logs
xorg:
description: example placeholder
steps:
- echo hello word
- echo goodbye cruel world
- confirm echo goodbye
list logs
list last n pretty graph logautocomplete checkout {pattern}
prompt checkout the pattern branchconfirm {commandName}
adds confirmation step to command
- check for
conflict
between multiple remote branch - start new workflows from a
config
file - ALL commands are read from the config file in
~/.config/hgit/config.yml
dynamic branch checkout
in workflows with command:prompt_checkout__{pattern}
branchNamePattern
from config:{branchType}.branch_pattern
- add
confirm
to commands for a confirmation prompt before the command
npx hgit
npm i -g hgit
hgit
hgit --trigger foobar
--verbose | verbose logs
--trigger <workflow-name> | non-interactive workflow trigger
- project based config file
- plugin system for dynamic lists
- aurgument mode
- argument autocomplete
___ ___
/__/\ / /\ ___ ___
\ \:\ / /:/_ / /\ / /\
\__\:\ / /:/ /\ / /:/ / /:/
___ / /::\ / /:/_/::\ /__/::\ / /:/
/__/\ /:/\:\ /__/:/__\/\:\ \__\/\:\__ / /::\
\ \:\/:/__\/ \ \:\ /~~/:/ \ \:\/\ /__/:/\:\
\ \::/ \ \:\ /:/ \__\::/ \__\/ \:\
\ \:\ \ \:\/:/ /__/:/ \ \:\
\ \:\ \ \::/ \__\/ \__\/
\__\/ \__\/