
Git Push Rejected Non Fast Forward: Troubleshooting Checklist
If you see ! [rejected] main -> main (non-fast-forward) when running
Software troubleshooting desk

If you see ! [rejected] main -> main (non-fast-forward) when running

You're browsing on your Mac and suddenly a site won't load, showing the error DNS...

You try to write a file inside a running Docker container and get no space left on device

If Chrome crashes immediately when you try to open it, you're not alone. This usually happens...

You run a command like git remote add origin https://newurl.com/repo.git and get

You run git push and see: ! [rejected] main -> main (non-fast-forward)