--- title: Create a commit by a different author tags: commit expertise: intermediate author: maciv firstSeen: 2021-04-13T20:07:27+03:00 lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates a new commit by the specified author. - Use `git commit -m ` to create a new commit with the specified ``. - Use the `--author` option to change the `` and `` of the commit's author. ```shell git commit -m --author=" " ``` ```shell # Make some changes to files git add . git commit -m "Fix the network bug" --author="Duck Quackers " # Creates a commit by `Duck Quackers` ```