Skipping Staging and Committing
- You can skip the staging area, before committing your changes.
- Instead of running
git addand then committinggit commit -m "message"in two steps, you can commit in 1 step.
git commit -a -m "Fixed the bug"
or
git commit -am "Fixed the bug"