title: Git stage and commit with one command
body: <p>Is there a way in Git to stage and commit files in one command? For example in my local repository I created files index.html, styles.css located in css folder and script.js located in js folder. Now I want to run one command to stage and commit all this files. I tried code below but it didn't work</p>
  
  <pre><code>git commit -a -m "my commit message"
  </code></pre>