在git中将标记/释放从fork推送到origin

在git中将标记/释放从fork推送到origin,git,github,Git,Github,我在GitHub存储库的分支上进行开发工作。我可以在任何提交上创建带注释的标记,并按如下方式推送它们: # cd to my fork git tag -a c1.0.1 <commit-id> -m "my v1.0.1" git push origin v1.0.1 git remote -v origin https://github.com/<myusername>/somerepo.git (fetch) origin https://

我在GitHub存储库的分支上进行开发工作。我可以在任何提交上创建带注释的标记,并按如下方式推送它们:

# cd to my fork
git tag -a c1.0.1 <commit-id> -m "my v1.0.1"
git push origin v1.0.1
git remote -v
origin  https://github.com/<myusername>/somerepo.git (fetch)
origin  https://github.com/<myusername>/somerepo.git (push)
upstream    https://github.com/<origin>/somerepo.git (fetch)
upstream    https://github.com/<origin>/somerepo.git (push)

#cd到我的叉子
git标签-ac1.0.1-m“my v1.0.1”
git push origin v1.0.1
但是,这些标记显示在fork中的页面中,但不显示在origin中

我使用在最新代码上创建了一个新版本和标记,但我不能将其用于旧的提交。也许我可以从那里克隆源代码并推送标签,因为我应该拥有所有特权,但我可能会忘记在将来的版本中这样做


如何将my fork上的标记推送到origin,使其显示在origin的Releases/tags页面中?

来自my fork,其上游设置如下:

# cd to my fork
git tag -a c1.0.1 <commit-id> -m "my v1.0.1"
git push origin v1.0.1
git remote -v
origin  https://github.com/<myusername>/somerepo.git (fetch)
origin  https://github.com/<myusername>/somerepo.git (push)
upstream    https://github.com/<origin>/somerepo.git (fetch)
upstream    https://github.com/<origin>/somerepo.git (push)

git远程-v
起源https://github.com//somerepo.git (取回)
起源https://github.com//somerepo.git (推)
上游https://github.com//somerepo.git (取回)
上游https://github.com//somerepo.git (推)
我可以简单地做到:

git推送——标记上游