Git track a remote branch using netbeans
git, netbeans
Solution
I don't have git installed on my computer
Yet, that remains the safest solution: simply unzip the archive msysgit (it you are on windows), and do a:
git branch -u master origin/master
Even other users came to the same conclusion.
Problem
I am using Netbeans, and there is a feature call `Push to Upstream`. When I click it I get this message: No tracked remote branch specified for local master Is there a way to track the remote branch in netbeans, or in the config file? Here is my config file: ``` [core] repositoryformatversion = 0 filemode = false logallrefupdates = true bare = false [remote "master"] url = https://github.com/TheColorRed/JGame.git fetch = +refs/heads/master:refs/remotes/master/master ``` I don't have `git` installed on my computer, but Netbeans comes with a git package to do git operations. I don't really want to download git just to run one line, so is there a way in netbeans or in the config file to track a branch?