I tried to give git pull origin main but fell into this error "fatal: couldn’t find remote ref main"

Asked

Viewed 108 times

0

I’m learning to use git is my first time but I’ve tried to give git pull origin main but always falls into a mistake saying

* branch            main       -> FETCH_HEAD
Already up to date.

I’ve tried everything on the internet and nothing helps me.

  • What is your goal and what is the result of the command git status and git branch -a? For the message Already up to date. apparently the local repository is up to date with the remote.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.