git-flutter CLI

The Git Flutter CLI is a comamnd line tool to save you time when using standard source setups.

This public content is an excerpt from Flutter staff GitHub docs. It is published as a reference to show how GitHub is used for inner source at Flutter.
$ 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:

  1. Run the installation script:
 curl -o- https://innersource.flutter.com/git-flutter/install.sh | bash
  1. 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"
  1. Verify the extension installation via git:
 git flutter --version

Windows

To install on a Windows machine:

  1. Download the latest release v2.0.4.

Or if you have curl installed, use this command:

curl https://innersource.flutter.com/git-flutter/git-flutter_v2.0.4_Windows_x86_64.zip
  1. (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.4_Windows_x86_64.zip SHA256
  1. Extract the git-flutter_v2.0.4_Windows_x86_64.zip file and copy the git-flutter.exe into C:\Program Files\Git\usr\bin.

  2. 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.