/
GIT Commit
GIT Commit
So once we have our files added that we want to commit the changes from (see git add) we can do git commit.
Let’s look at the scenario were we are adding a web page to a repo. We have already done the git add operations. So we can do these two commands to complete the commit:
git status
git commit -m "A comment about the commit"
Here’s what this looks like:
So this will get your changes committed in your local GIT repository. But the changes won’t be shared with your team yet. How do you do that?
For that you’ll need to do a git push but probably need to do a git pull first.
, multiple selections available,
Related content
Basic workflow of git for day to day use
Basic workflow of git for day to day use
More like this
Be conscious about what to commit to source control
Be conscious about what to commit to source control
More like this
GIT concepts
GIT concepts
Read with this
Intermediate File
Intermediate File
Read with this