Open GoogleCodeExporter opened 9 years ago
remember: because the local branch has setup a remote tracking branch
git remote update does not filter which branch to update
Original comment by ch3co...@gmail.com
on 14 Aug 2014 at 3:33
Fetching the tracking branch on its own (without fetching the other branches)
is only useful for a most basic, centralised workflow:
https://www.atlassian.com/git/workflows#!workflow-centralized.
Anyone using a more complex workflow, e.g.
https://www.atlassian.com/git/workflows#!workflow-feature-branch
https://www.atlassian.com/git/workflows#!workflow-gitflow
https://www.atlassian.com/git/workflows#!workflow-forking
Will be largely rebasing and merging onto _other branches_ rather than their
tracking branch, hence the fetch screen defaulting to the tracking branch is
unhelpful.
For example, if I work on "features/branch-XYZ" and I want to fetch latest
changes, it will more likely be "remoteABC/master" than
"remoteABC/features/branch-XYZ".
Regardless, defaulting to _what you last did_ seems better than assuming
everyone is using a most basic (and bad) workflow.
Additionally, if you are using a basic workflow, where more than 1 developer is
pushing to the same branch, there should be no problem fetching all branches,
since there aren't any.
Original comment by mik...@gmail.com
on 14 Aug 2014 at 4:40
Original issue reported on code.google.com by
mik...@gmail.com
on 14 Aug 2014 at 2:35