Git: local branchs tracks other local branch
问题 I know that local branches can track remote branches, but there is also the possibility that a local branch tracks another local branch. What is a use-case for this? 回答1: Real-world use: I have an upstream repository, and a local branch tracking that remote. I start working on a major "feature" which will require a mess of changes to implement, but I don't yet want to expose the work upstream (potentially, ever). So I create a local branch tracking my tracking branch. Now I have origin/master