petervanderdoes / gitflow-avh

AVH Edition of the git extensions to provide high-level repository operations for Vincent Driessen's branching model
http://nvie.com/posts/a-successful-git-branching-model/
Other
5.42k stars 528 forks source link

Question: gitflow.branch.feature/{feature}={base} and git flow feature track {feature} #431

Open k-pd opened 4 years ago

k-pd commented 4 years ago

When starting a feature branch using

git flow feature start {feature} {base}

there is an entry in git config -l for it:

gitflow.branch.feature/{feature}.base={base}

Publishing and tracking is working well, as long as {base} is the default branch used in both repositories.

But how about a different {base} or different default branches? Will git-flow know the original {base} from git history?

When tracking the remote feature

git flow feature track {feature}

there is no entry in git config -l to know the remote branches {base}.

Where to even know the original {base} from?

Edit: .base was missing from config key