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

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

You try to load a website and see DNS_PROBE_FINISHED_NXDOMAIN in Chrome, or simi...

You open Chrome and see NET::ERR_CERT_AUTHORITY_INVALID on every site, even trus...

If you see 'Git authentication failed' or 'permission denied' when pushing or pul...

You try to merge two branches in Git, and get fatal: refusing to merge unrelated histories<...

If you see a message like “You are in ‘detached HEAD’ state” in IntelliJ IDEA, it means your work...