git push --atomic orgin <branch_name> [tag_name]
lwk@qwfys:~/project/meishan$ git branch -a
develop
* main
remotes/origin/develop
remotes/origin/main
lwk@qwfys:~$
lwk@qwfys:~/project/meishan$ git tag -l
1.0.0.final
lwk@qwfys:~/project/meishan$
lwk@qwfys:~/project/meishan$ git push --atomic origin develop 1.0.0.final
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 172 bytes | 172.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Powered by GITEE.COM [GNK-6.4]
To gitee.com:ab-sample/meishan.git
* [new branch] develop -> develop
* [new tag] 1.0.0.final -> 1.0.0.final
lwk@qwfys:~/project/meishan$