git commit -m <message>
to create a new commit with the specified <message>
.--author
option to change the <name>
and <email>
of the commit's author.git commit -m <message> --author="<name> <email>"
# Make some changes to files git add . git commit -m "Fix the network bug" --author="Duck Quackers <cool.duck@qua.ck>" # Creates a commit by `Duck Quackers`
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️