Skip to content

Error: refname refs/heads/master not found #24104

Answered by fretagi
fretagi asked this question in New to GitHub
Discussion options

You must be logged in to vote

Can I post the link to the solution here? Its an external source… and its in Portuguese:
https://pt.stackoverflow.com/questions/388005/problema-na-hora-de-fazer-push-no-github

Basically what I did was to run the

git fetch
git reset --hard origin/master

them git push

Replies: 21 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@RitaBallesterosB
Comment options

@RitaBallesterosB
Comment options

Answer selected
Comment options

You must be logged in to vote
3 replies
@aymankhaled27
Comment options

@melisandoval
Comment options

@arhab213
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HemilTheRebel
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@airtower-luna
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet