git-flutter CLI
The Git Flutter CLI is a comamnd line tool to save you time when using standard source setups.
$ git flutter
Work with Flutter-Global from the command line.
Usage:
git flutter [command]
Available Commands:
feature Create a feature branch for your work.
help Help about any command
hotfix Create a hotfix branch for your work.
push Push the current branch to remote origin.
release Start or cancel a release
status Displays the status of the current repo
sync Merges any outstanding changes into the current branch.
tag Tag the current branch with a semantic version.
Flags:
-h, --help help for git flutter
--no-network do not perform network operations
-v, --verbose verbose log output
--version version for git flutter
Use "git flutter [command] --help" for more information about a command.
MacOS or Linux
To install on macOS or Linux:
- Run the installation script:
curl -o- https://innersource.flutter.com/git-flutter/install.sh | bash
- Close and reopen your terminal to start using
git flutter
or run the following command to use it immediately:
[ -d "$HOME/.git-flutter/bin" ] && PATH="$HOME/.git-flutter/bin:$PATH"
- Verify the extension installation via
git
:
git flutter --version
Windows
To install on a Windows machine:
- Download the latest release v2.0.3.
Or if you have curl
installed, use this command:
curl https://innersource.flutter.com/git-flutter/git-flutter_v2.0.3_Windows_x86_64.zip
- (Optional) Validate the binary by comparing the provided checksum with that of the download which you can calculate at the command prompt:
CertUtil -hashfile git-flutter_v2.0.3_Windows_x86_64.zip SHA256
-
Extract the
git-flutter_v2.0.3_Windows_x86_64.zip
file and copy thegit-flutter.exe
intoC:\Program Files\Git\usr\bin
. -
Verify the extension installation via
git
:
git flutter --version
Getting Started
Your usage of this tool will depend on your choice of workflow and branching model. Your chosen SDLC will document its usage for that specific approach.
Support
The CLI is supported by the Inner Source Team who can be contacted for help & support. Direct feature or bugfix contributions are also very welcome via fsc-git-flutter repository.