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

Commit 6ffd62b

Browse files
committed
Update CONTRIBUTING.md
1 parent e39e803 commit 6ffd62b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ configuration assumes nodenv's remote is `origin`, and rbenv's remote is
2525

2626
1. Configure rbenv to not fetch tags by default:
2727

28-
```console
29-
git config remote.rbenv.tagOpt --no-tags
30-
```
28+
```console
29+
git config remote.rbenv.tagOpt --no-tags
30+
```
3131

32-
2. Fetch rbenv's tags to their own refspec namespace (`rbtags`, in this case):
32+
> [!WARNING]
33+
> The `--tags` option to `fetch` et. al. will override this setting.
3334
34-
```console
35-
git config --add remote.rbenv.fetch '+refs/tags/*:refs/rbtags/*'
36-
```
35+
2. Fetch rbenv's tags to their own refspec namespace (`rbtags`, in this case):
3736

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

4141
Resulting snippet in `.git/config`:
4242

0 commit comments

Comments
 (0)