web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / My NAV Notes / VS Code error: Can’t push r...

VS Code error: Can’t push refs to remote. Try running ‘Pull’ first to integrate your changes

Community Member Profile Picture Community Member

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.

Comments

*This post is locked for comments