Back to Flutter Inner Source homepage
inner source

feature Command

The git flutter feature command is used to start a feature, creating a branch for you to work in.

Usage:
  git flutter feature name [flags]

Examples:
$ git flutter feature my-feat-name
$ git flutter feature my-feat-name --team ppb

Flags:
  -s, --source string   working directory (default ".")
      --team string     team name
  -y, --yes             confirm yes to any interactive prompts

Global Flags:
      --cache string                application cache file (default "/home/runner/.git-flutter.cache.v9")
  -f, --fetch-expiration duration   time till fetch remote again (default 1h0m0s)
      --no-check-version            doesn't check for updated version
      --no-network                  doesn't perform network operations
  -v, --verbose                     verbose log output

Examples

Starting a Feature

Two teams (opo and lds) are working with the multiple teams SDLC. As an engineer in the Leeds (lds) team I want to start a new feature. I use the feature command to create a new branch for my work, with my team automatically detected from my current branch. Once I've finished my feature I'll raise a pull request to merge it into my team development branch (lds/develop).

$ git flutter feature my-new-thing --yes
Creates a feature branch named 'lds/feature/my-new-thing' from the source branch 'lds/develop' and pushes it to remote

i Creating branch 'lds/feature/my-new-thing'

✔ The 'lds/feature/my-new-thing' branch was pushed to remote

✔ The feature branch 'lds/feature/my-new-thing' was successfully created
Git Flutter Install
← Previous
release Command