I see this for egit Push to Upstream:
It says: "Insert the current branch ."
When I use it, all branches become pushed, not just current. Is there a way to configure it to push only the current branch?
Check git configuration for push policy:
git config push.default
(same as " Eclipse > Window > Preferences > Team > Git > Configuration ")
Eclipse > Window > Preferences > Team > Git > Configuration
It should be โsimpleโ to be sure to only click on the current branch (upstream thread with the same name)
In Egit, check Team -> Remote -> Configure Push to UpstreamOne click of one branch was not supported in 2011 , due to the old JGit Error .Table How compatible is EGit with Git? " push.default is not mentioned. Here is the current implementation
Team -> Remote -> Configure Push to Upstream
push.default
+refs/heads/*:refs/remotes/origin/*
I usually prefer to use the exact output of the current branch option (instead of pushing up)