{"thread":{"id":"51491","subject":"git fetch --no-tags still fetch tags when remote name is provided","startedAt":"2019-07-17T12:07:17Z","lastAt":"2019-07-17T12:07:17Z","messageCount":1,"participants":["Baptiste Delestre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"379006","messageId":"07af82bd-0f4d-77b3-b5ae-e1efc887ade5@eugensystems.com","threadId":"51491","inReplyTo":null,"subject":"git fetch --no-tags still fetch tags when remote name is provided","fromName":"Baptiste Delestre","fromEmail":"baptisted@eugensystems.com","sentAt":"2019-07-17T11:10:58Z","receivedAt":"2019-07-17T12:07:17Z","isPatch":false,"sender":{"key":"baptisted@eugensystems.com","avatar":null},"body":"Hi!\nI have two remotes with different tags, so when I use \"git fetch\" it \nremoves the tag from the other remote and add tag from the origin remote.\nSo I tried to use \"git fetch --no-tags\" to prevent this behavior and I \nhave no use for those tags locally.\nThe problem is it works for the origin remote but when I fetch the other \nremote with \"git fetch --no-tags other\" it fetch tags.\nThe same happen when fetching a group or with \"git fetch --all --no-tags\".\nI have tried to set the \"remote.<remote>.tagOpt = --no-tags\" option in \ngit config with no difference in behavior.\n\nIs there a way to force tags not to be updated at all with \"git fetch \n--all\" in this case?\n\n(git version 2.22.0.windows.1 and git version 2.18.0.windows.1)\nRegards,\nBaptiste\n\n\n"}]}