git fetch --no-tags still fetch tags when remote name is provided

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
I have two remotes with different tags, so when I use "git fetch" it removes the tag from the other remote and add tag from the origin remote. So I tried to use "git fetch --no-tags" to prevent this behavior and I have no use for those tags locally. The problem is it works for the origin remote but when I fetch the other remote with "git fetch --no-tags other" it fetch tags.
The same happen when fetching a group or with "git fetch --all --no-tags".
I have tried to set the "remote.<remote>.tagOpt = --no-tags" option in git config with no difference in behavior.

Is there a way to force tags not to be updated at all with "git fetch --all" in this case?

(git version 2.22.0.windows.1 and git version 2.18.0.windows.1)
Regards,
Baptiste





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux