status
CommandThe git flutter status
command is used to understand the current state of a repository and your checkout. It is designed as a standard SDLC aware replacement for the git status
command and shows you:
Usage:
git flutter status [flags]
Flags:
-s, --source string working directory (default ".")
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
The command adds progressively greater value the more complex your configured SDLC.
Two teams (opo and lds) are working with the multiple teams SDLC. Engineers from both teams have now merged several features into their develop branches which are not yet released. As a member of the Leeds team I want to release our work. I use the status command to see the latest release tag on main, the state of all team development branches and whether any team has an existing release in progress.
$ git flutter status
lds/feature/my-new-thing
main
i v1.3.2
opo/develop
i v1.4.0-opo.alpha.3
i 3 ahead of main
lds/develop
i v1.4.0-lds.alpha.5
i 5 ahead of main
Two teams (opo and lds) are working with the multiple teams SDLC.As a member of the Porto team I want to release so I use the status command to check whether any other team has a release in progress. I see that the Leeds team are currently releasing so know to check with them when they will have completed as only one major/minor release can occur at any time.
$ git flutter status
main (current)
i v1.3.2
opo/develop
i v1.4.0-opo.alpha.3
i 3 ahead of main
lds/develop
i v1.4.0-lds.alpha.5
i 5 ahead of main
lds/release/1.4
i HEAD would be v1.4.0-lds.beta.5 (inferred)
i 5 ahead of main
Two teams (opo and lds) are working with the multiple teams SDLC.As a member of the Porto team I want to release so I use the status command to check whether any other team has a release in progress. Now the Leeds release has been merged into main I can see no release is in progress so I can start the next one myself.
$ git flutter status
main (current)
i v1.4.0
opo/develop
i v1.4.0-opo.alpha.3
! 6 behind and 3 ahead of main
lds/develop
i v1.4.0-lds.alpha.5
! 1 behind main