Back to Flutter Inner Source homepage
inner source

sync Command

The git flutter sync command keeps your branch up to date with repository activity by merging release and hotfix changes.

Usage:
  git flutter sync [flags]

Flags:
      --force           override any warnings to continue if possible
  -s, --source string   working directory (default ".")
  -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

Sync a Develop Branch

Two teams (opo and lds) are working with the multiple teams SDLC.The Leeds team have just completed a release and merged it to main. As an engineer in the Porto team I need to sync the release back into my team develop branch to integrate the changes.

$ git flutter sync --force --yes
Merges the branch 'main' into branch 'opo/develop' and pushes it to remote


i Merging branches
i Pushing branch to origin

✔ Merged and pushed, all now up to date
Git Flutter Install
← Previous