Git ignore node modules - Simple Solution and Common Gotchas Add the following line to your .gitignore file node_modulesIt will match the node_modules directory anywhere in your git repository. Don't forget to add .gitignore to git too: git add .gitignoreGotcha #1 - No .gitignore file If you don't have a .gitignore file,
What does git stand for? Git is an open source distributed version control system. It was created in 2005 by Linus Torvalds. But you already knew that, right. So what's behind the name, git? You may be be surprised to know that it's not an acronym. In the words
gitroot – a Simple Command to Navigate to the Root of a Git Repo One thing that always annoyed me is returning to top level directory in a git repo from somewhere deeper within. It turns out that there’s a really simple solution – just make a bash alias gitroot as follows. alias gitroot='cd $(git rev-parse --show-toplevel)