Slackbot
06/19/2023, 12:11 PMVampire
06/19/2023, 12:28 PMrs only fetches the trunk branch and Git only fetches tags on branches that are fetched.
A git pull fetches all branches and thus all tags that are on any branch.Puneeth K
06/19/2023, 2:13 PMmain for a particular repo). So even gt rs should fetch it if I am not wrongVampire
06/19/2023, 2:17 PMgit pull --rebase origin main, whether it is fetched then or not. Should be fairly easily testible by deleting the tag locally if it is already present.Jacob Gold
06/19/2023, 6:05 PMgit pull fetches tags, whereas repo sync only fetches the trunk branch.Vampire
06/19/2023, 6:10 PM--tags.
It only fetches tags that are in the history of branches you fetch.
And even if you fetch (or pull) a single branch, it should fetch the tags that are in its history.
Unless it is prevented for example with --no-tags or by remote.<name>.tagOpt setting.Puneeth K
06/21/2023, 6:29 AMgt rs -r --tags next time and see if they work by fetching the tagsJacob Gold
06/21/2023, 6:30 AMgt rs doesn't support fetching tagsVampire
06/21/2023, 6:31 AM