Git

Last Updated: 7/13/2023

Skipping Staging and Committing

  • You can skip the staging area, before committing your changes.
  • Instead of running git add and then committing git 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"