GitPair
Automatically adds Co-authored-by mark to commits when you're pairing.
Learn more
About
This is an experiment created by ElixirSC meetup group in our Hacking Sessions.
We're porting Golang project thechutrain/git-pair to Elixir using Erlang escript.
Install
You can install it with escript.install from hex:
mix escript.install hex git_pairNOTE: If you use asdf, you need to "export" git-pair binary to asdf recognized binaries PATH:
asdf reshim elixirIf no version was specified it will get the current version.
Development
If you want to fetch the development version. You can install directly from this repo:
mix escript.install github elixirsc/git-pair branch mainUsage
Initialize
git pair initList Pairs
git pair statusAdding Pair
git pair add github-usernameRemoving Pair
git pair rm github-usernameStop pairing with everyone
git pair stopHow it works
When you run git pair init, it will register pre-commit hook to wrap calls to our binary that will add Co-authored-by stored in .git/config.
Backlog
To check our backlog check out our Project Board.