Short answer:
As of Git 1.7.0:
git branch --set-upstream foo upstream/foo
Long Answer:
Netbeans 7.3 introduce three new feature for git remote
- Fetch from Upstream
- Pull From Upstream
- Push to Upstream
But whenever I tried to use this commands, it gave me the error
“No tracked remote branch specified for local branch-name”
After digging around for a while, I found the solution.
git branch --set-upstream branch-name remote-name/remote-branch-name
Thanks to this so answer: http://stackoverflow.com/a/2286030/472538
Now set up keyboard shortcuts for the commands and also for commit and increase your productivity 😀
Advertisements
Thanks!!
Thanks! your great solution gave an idea of how to solve it using netbeans’ git plugin and it’s powerfull push utility:
Step 1: custom push to an specific repo:

Step 2: Choose the desired local branch

And that’s it you are ready to go