use message from file git code example Example 1: git commit Click to copygit commit -a -m "The Commit message" Example 2: how to commit changes in git command Click to copygit commit -a