pushing to github after this error: git error: failed to push some refs to remote

PHOTO EMBED

Mon Feb 19 2024 13:22:36 GMT+0000 (Coordinated Universal Time)

Saved by @Roytegz

git reset --mixed origin/main
git add .
git commit -m "This is a new commit for what I originally planned to be amended"
git push origin main
content_copyCOPY