commit in git 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"
Example 3: git commit
git init
git add --all
git commit -m "Initial Commit"
Example 4: git commit
//now commit the code
git commit -m "anyMessageYouWantToWrite"
Example 5: how to commit changes in git command
git commit -a