I am using EGit 2.1.0 in eclipse juno.
A user X has created and pushed a branch FeatureBranch. Next user Y pulls from master. Now in the Remote Tracking the FeatureBranch is visible on user Y’s machine. Now user Y want to join the work done on FeatureBranch. But the FeatureBranch is not automatically available as a local branch. So user Y first needs to create a local branch from the remote FeatureBranch (else all commits will end up being seen as detached heads).
Why does user Y have to manually create a local branch from the remote branch before being able to commmit/push on it?
That’s just how git works. Remote branches are read-only. If you want to automate the
git checkout --trackor whatever it is you want to do, you could certainly script it.