Search code examples
gitgithubgitignore

How to move angular code from my local to github?


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


Solution

  • 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/