-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Stephanie Goldstein <stephanieg0@github.com>
- Loading branch information
1 parent
525055e
commit 3599e1e
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# `gh-pairing-with` | ||
|
||
A simple [`gh`](https://github.com/cli/cli) extension for sharing credit. | ||
|
||
## Installation | ||
|
||
Install the CLI | ||
|
||
```bash | ||
brew install gh | ||
``` | ||
|
||
Install the extension | ||
|
||
```bash | ||
gh extension install schustafa/gh-pairing-with | ||
``` | ||
|
||
## Commands | ||
|
||
Run `gh pairing-with <github-login>`. | ||
|
||
For example, if you're pairing with [Miss Monalisa Octocat](https://github.com/mona), you'll run: | ||
|
||
```bash | ||
> gh pairing-with mona | ||
Co-authored-by: Monalisa Octocat <92997159+mona@users.noreply.github.com> | ||
``` | ||
|
||
Paste the string returned into your commit message to share credit with your pairing partner! | ||
|
||
If you're on a Mac, pipe the output to `pbcopy` to get the `Co-authored-by` string automatically added to your pasteboard, ready to paste! | ||
|
||
```bash | ||
gh pairing-with mona | pbcopy | ||
``` | ||
|
||
## Resources | ||
|
||
- [Setting your commit email address](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address) | ||
- [Your GitHub Email Settings](https://github.com/settings/emails) |