基本上我想添加一个标签,但是我只能使用命令行,我已经尝试过git tag -m
That's easy:
git tag my-tag
git push --all-tags
In case you have not pushed your commits yet, you would also want to bring them upstream as well, because pushing the tags does not also push the commits:
git push
That's it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.