From 6ffd62b4c24ef431e656b81981b80ad5dfc94ef6 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Mon, 8 Sep 2025 11:38:05 -0400 Subject: [PATCH] Update CONTRIBUTING.md --- docs/CONTRIBUTING.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index b617b01..28384ab 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -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`: