Add node_modules/
or node_modules
to the .gitignore
file to ignore all directories called node_modules
in the current folder and any subfolders like the below image.
More Related Contents:
- How can I selectively merge or pick changes from another branch in Git?
- Git: How to solve Permission denied (publickey) error when using Git?
- Git push requires username and password
- How to undo ‘git reset’?
- How to convert a Git shallow clone to a full clone?
- git pull while not in a git directory
- How to prune local tracking branches that do not exist on remote anymore
- How to squash commits in git after they have been pushed?
- Link to the issue number on GitHub within a commit message
- Setting up and using Meld as your git difftool and mergetool
- How do you use “git –bare init” repository?
- Commit history on remote repository
- Can I use git diff on untracked files?
- gitignore all files of extension in directory
- Is there a way to trigger a hook after a new branch has been checked out in Git?
- Copy a git repo without history
- List all the files that ever existed in a Git repository
- How to only update specific git submodules?
- Difference between different git search commands
- Finding most changed files in Git
- Collapsing a git repository’s history
- difference between origin/branch_name and branch_name?
- How to commit no change and new message?
- Git clone without .git directory
- Understanding the basics of Git and GitHub [closed]
- git clone can’t resolve proxy
- SourceTree App says uncommitted changes even for newly-cloned repository – what could be wrong?
- Git remove root commit
- Git rebase –preserve-merges fails
- Cygwin/Git error cygheap base mismatch detected