git: How to prevent fetching tags from upstream repo?

git, github

Solution

`git fetch` accepts a `--no-tags` (`-n`) option. I wouldn’t use it, though; if you change the versioning scheme of software, you shouldn’t clobber its existing versions. That’s just confusing.

Problem

I'm new to forking a repo in GitHub. The situation is I have forked my own project, and trying to port the new one into another platform. My original project has many tags corresponding to different versions. But I want to use a different pace (and different version numbers) to update the new project, so I don't want to use any of them in my new project. The question is that is there any way to prevent commands like `git fetch` from getting all unnecessary tags from upstream repo? Even if I remove all not-needed tags from my new repo, after next `git fetch` they will come back.

Original source