elixirsc / git-pair

Automatically adds `Co-authored-by` mark when you're pairing
https://hex.pm/packages/git_pair
MIT License
8 stars 0 forks source link

Implement `status` action #6

Closed wevtimoteo closed 4 years ago

wevtimoteo commented 4 years ago

To know who is pairing with, we need to add ability to user list registered usernames under from .git/config:

git config --get-all pair.coauthor

More details about --get-all can be found in Git docs.

We should implement a wrapper for the command above using our binary:

git pair status

I was thinking if we should create an alias for it, maybe git pair list. WDYT?

lcidral commented 4 years ago

As suggested by @amadeu01, we can leave git pair list reserved to list team members or potential users that developer want to mark as pairing to. WDYT?

wevtimoteo commented 4 years ago

@lcidral agreed, we can leave list for other action :)

We should write more details about this proposal, @amadeu01 can you describe it in a new issue?

amadeu01 commented 4 years ago

Sure!