VS Code error: Can’t push refs to remote. Try running ‘Pull’ first to integrate your changes
Views (1375)
This error message I encountered recently a few times when I performed a Git Sync from VS Code to check the AL code to SCM (Github):

One of the causes for this error message is when you try to upload files which are greater then the allowed limit (max filesize). Check the Git Log why the problem occurred. Cause could be a file that’s too large.
Another cause could be there are no files yet that were staged. To fix this add a file to your project, stage it and then sync it to your repository.
This was originally posted here.
*This post is locked for comments