Reputation: 1
I'm currently trying to finish off a project at school and recently made a Git-Website for it. Currently I am trying to implement some other stuff but it seems like the gh-pages branch is hindering me from that.
When I try to update or commit anything i get the following error:
"No tracked branch configured for branch gh-pages. To make your branch take a remote branch call, for example, git branch --set-upstream gh-pages origin/gh-pages"
I know there is a thread about this already but all the responses people gave there didn't fix it for me, so any help is highly appreciated.
Upvotes: 0
Views: 2741
Reputation: 3484
It means that you don't have a remote branch tracking the local branch.
Just type git branch --set-upstream gh-pages origin/gh-pages
in terminal, it'll create remote branch and associate it with your local branch.
The other option is git push -u origin gh-pages
Upvotes: 1