Automatically adds Co-authored-by mark to commits when you're pairing.
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.
You can install it with escript.install from hex:
mix escript.install hex git_pair NOTE: If you use asdf, you need to "export" git-pair binary to asdf recognized binaries PATH:
asdf reshim elixir If no version was specified it will get the current version.
If you want to fetch the development version. You can install directly from this repo:
mix escript.install github elixirsc/git-pair branch main git pair init git pair status git pair add github-username git pair rm github-username git pair stop 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.
To check our backlog check out our Project Board.