When i try to commit it displays the following,
On branch gh-pages Untracked files: node_modules/max-buffer-exceeded-error/
nothing added to commit but untracked files present
You should never commit node_modules to your repo. Create, if you not already have, a .gitignore file in the root of your project, and add node_modules/
I think you added node_modules folder. Run
git rm node_modules
to remove them from your repository.
After that operation, add node_modules to the .gitignore file.
Finally commit and push.
node_modulesinto your repository. Use.gitignore.gitandversion control softwaresI suggest you to have a look athttps://git-scm.com/doc, just few chapters and you'll learn about ignoring files, branching, committing, pushing, ecc.