- Create a .gitignore file in the git repository if it does not contain one
touch .gitignore
- Open up the .gitignore and add the following line to the file
**/node_modules
| {% if cart.attributes.yourCartAttribute %} | |
| <script> | |
| $.ajax({ | |
| type: 'POST', | |
| url: '/cart/update.js', | |
| data: 'attributes[yourCartAttribute]=', | |
| dataType: 'json' | |
| }); | |
| </script> | |
| {% endif %} |
| # Create a new repository on the command line | |
| touch README.md | |
| git init | |
| git add README.md | |
| git commit -m "first commit" | |
| git remote add origin https://github.com/c0ldlimit/vimcolors.git | |
| git push -u origin master | |
| # Push an existing repository from the command line |