- Create a directory for your project
- Initialize your project with
npm init
- Initialize
git
withgit init
- Create a
.gitignore
file in your projects root directory - Add
.env
,node_modules
and all other possible spec files to.gitignore
- Related Setup: https://gist.github.com/hofmannsven/6814278
- Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
- Interactive Beginners Tutorial: http://try.github.io/
- Git Cheatsheet by GitHub: https://services.github.com/on-demand/downloads/github-git-cheat-sheet/
Press minus + shift + s
and return
to chop/fold long lines!