Skip to content
Co-author commits using GitHub usernames when pair programming
Branch: master
Clone or download
Latest commit bdd1ecb Mar 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Nov 6, 2018
.travis.yml Add travis ci config Nov 10, 2018
README.MD improve readme clarity Jan 9, 2019
index.js use execSync for simplicity Mar 18, 2019
index.test.js improve tests naming Jan 9, 2019
package-lock.json bump version to 0.2.12 Jan 9, 2019
package.json minor version bump Mar 18, 2019
screenshot.gif Revert "Merge pull request #13 from juliettepretot/new-img" Mar 18, 2019


🤝 co-commit

Run npx co-commit to start. - No installation needed.

screenshot of using gif co-commit

🤓 Background

GitHub allows you to co-author commits by appending Co-authored-by: name <> to a commit message.

🧠 Advanced

Make it blazing fast 🔥

Each time you run co-commit, npx will install the package. This will usually only takes a few seconds. To skip this you can preinstall co-commit using npm i -g co-commit.

CLI arguments

You can also utilize git flags with co-commit: eg git commit --all becomes npx co-commit --all. Additionally, you can skip prompts using flags: eg: -m "your commit message" or -co "mariiapunda".

Multiple Co-Authors

To commit with multiple co-authors simply comma-separate their usernames.


To run co-commit you need to have NodeJs installed. Naturally, git is also required.


You can’t perform that action at this time.