WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ configuration assumes nodenv's remote is `origin`, and rbenv's remote is

1. Configure rbenv to not fetch tags by default:

```console
git config remote.rbenv.tagOpt --no-tags
```
```console
git config remote.rbenv.tagOpt --no-tags
```

2. Fetch rbenv's tags to their own refspec namespace (`rbtags`, in this case):
> [!WARNING]
> The `--tags` option to `fetch` et. al. will override this setting.

```console
git config --add remote.rbenv.fetch '+refs/tags/*:refs/rbtags/*'
```
2. Fetch rbenv's tags to their own refspec namespace (`rbtags`, in this case):

> [!WARNING]
> The `--tags` option to `fetch` et. al. will override this setting.
```console
git config --add remote.rbenv.fetch '+refs/tags/*:refs/rbtags/*'
```

Resulting snippet in `.git/config`:

Expand Down