Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本上我想添加一个标签,但我只能使用命令行,我试过 git tag -m
这很容易:
git tag my-tag git push --all-tags
如果您还没有推送您的提交,您还希望将它们带到上游,因为推送标签不会同时推送提交:
git push
而已。