Shafia Rahman Chowdhury
Posted on January 1, 2024
The error below takes place when you edit your file directly from github as a result code in local file and file github file does not match.
Go to your terminal again and run these commands
Solution-1
git pull
git push origin main
Solution-2 (not recommended)
git push -f
By following these steps, you should be able to synchronize your local changes with the changes on GitHub and avoid conflicts.
💖 💪 🙅 🚩
Shafia Rahman Chowdhury
Posted on January 1, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.