/
GIT commit and add in one command

GIT commit and add in one command

Normally it is better to do a two phase commit process especially as you are learning.

But as you get more confident, there are shortcuts. Like using the --all flag.

git commit --all -m"Did a meaningful change"

 

Related content

GIT Commit
GIT Commit
More like this
GIT Diff
GIT Diff
More like this
Basic workflow of git for day to day use
Basic workflow of git for day to day use
More like this
What is GIT?
What is GIT?
Read with this
GIT Pull
GIT Pull
More like this
GIT Commit with VI
GIT Commit with VI
Read with this