Co-author commits using GitHub usernames
Switch branches/tags
Nothing to show
Clone or download
Latest commit b9cbf2d Nov 29, 2018
Permalink
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 Structure docs for readability Nov 11, 2018
index.js simplify gatherInput Nov 25, 2018
index.test.js Add tests Nov 9, 2018
package-lock.json Add tests Nov 9, 2018
package.json bump version to 0.2.10 Nov 12, 2018
screenshot.gif update screenshot to feature the most common usecase Nov 10, 2018

README.MD

🤝 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 <name@example.com> to a commit message.

🧠 Advanced

Flags

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, juliettepretot".

Preinstall co-commit

Each time you run co-commit, npx will install the package. This will usually take around one second. To skip this you can preinstall co-commit using npm i -g co-commit.

Multiple Co-Authors

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

Dependencies

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

Contributors