Skip to content

Idea(s): standardize default config file/path in repo, and auto-init #68

@bmcdonnell-fb

Description

@bmcdonnell-fb

I'm thinking it makes more sense to store the git flow config in each repo, instead of having each developer manually stepping through the git flow init on each of their repos. That's more automated, less room for error, and would help keep teams aligned.

I suppose that's what the --file=path option to git flow init is supposed to be for? But, can you...?

  1. Standardize the default path, within the repo, so that users don't need to specify it manually?
  2. Auto init / obviate git flow init when the file is found?
  3. Maybe even make this the default git flow init behavior?
    • If the file exists, do nothing, maybe just report the file/path found and its settings.
    • If it doesn't exist, then prompt like usual, save the settings there, and tell the user where it was stored.

I realize that (3) is a deviation from the original git-flow (and AVH), but I think it might be a big enough improvement that it's worth considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions