Commit files in git

Posted 2 years ago

Commit changes to the head but not the remote repository ready for push


git commit -m "Message to go with commit"

Commit all files you’ve added with git add plus any changed files since then


git commit -a