ALWAYS having "Everything up-to-date" in git push

I’m being have stuck trying to do ‘git push origin master’, but is always send this log:

Everything up-to-date

I tried to create a empty commit, see the HEAD from the last commit, but everthing seems ok, what should i do?

Hey @LuizGuilhermeGO, could you [upload your code to GitHub]( Publish to GitHub - CodeCrafters ) and share the link?

Also, could you share a screenshot showing you creating the empty commit and pushing it? That might help pinpoint what’s going wrong.

Here’s the link:

LuizGuilhermeGO/codecrafters-git-go

I post on github, and now i’m seeing that the changes has not be commited, the code should contain this:

Nevermind i fix it

1 Like

Looks like the empty commit was made on main, when it should have been on master.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.