A git command line tool to improve the git workflow.
⚠️ DEPRECATED: this cli tool has been merged with other cli tools in fox-awesome-cli. Use that one instead.
About the cli
It works only in a basic gitflow workflow with the following branches:
* In the future this will be configurable.
This cli is part of a set of personal cli tools named as fox-awesome-cli also developed by myself.
Prerequisites: NodeJS (>=14.x tested only) and git installed.
You can install it globally:
yarn global add fox-git-cli or
npm install -g fox-git-cli
Or install locally:
yarn add fox-git-cli or
npm install fox-git-cli
This cli tool can be used with some aliases:
fg. You can choose the one you prefer.
The usage is:
foxgit <command> [options]
You can see some information and the available commands using the help option or not using any command:
Synchronizes the current branch with the remote source branch. By default hotfix and release branches are synchronized with master branch and feature branches are synchronized with develop.
If you are already in a source branch (i.e. master or develop) this command does nothing.
Basically this command performs:
- Pulls the most recent changes from source branch.
- Tries to merge these changes into the current branch. You can force doing a rebase using the
For further options docs:
foxgit branch-sync -h