67847/fatal-the-current-branch-master-has-no-upstream-branch
Hi Guys,
I am trying to push my file from local system to GitHub. But I am getting this below error.
fatal: The current branch master has no upstream branch.
How can I solve this error?
Hi@akhtar,
You got this error, because you did not link your GitHub branch to your local branch. Use the below given command.
$ git push --set-upstream index.html master
Hope this will help.
We have a branch called dev We access it ...READ MORE
My Project(in .Net) is big in size ...READ MORE
Hi@akhtar, In your case buffer size of git ...READ MORE
Hi@akhtar, I think you didn't initialize your folder ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hi@akhtar, You can run the git branch command ...READ MORE
Hi@akhtar, If you already have a .git/ folder ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.