git commit -o code example
Example 1: git commit
git commit -a -m "The Commit message"
Example 2: git commit
git add index.html css/styles.css
git add .
git commit -m "Change titles and styling on homepage"
git commit -a -m "The Commit message"
git add index.html css/styles.css
git add .
git commit -m "Change titles and styling on homepage"