Skip to content
Discussion options

You must be logged in to vote

Hello NyxRoot, welcome to GitHub!
That message just means your local branch has commits that the remote (on GitHub) doesn’t have yet.
It usually shows up right after you make a new commit, before you push it.
Once you run git push, the remote will catch up and the message should go away.

If you still see it after pushing, it might be that the push didn’t actually go through — maybe you’re on a different branch, or you forgot -u origin main the first time.
You can check with git status or git log --oneline --graph to see what’s different.

In short: it’s not an error don't worry, it's just Git telling you that your local work is a bit ahead of what’s on GitHub.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by NyxRoot7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants