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?