github新建项目+标签

git新建项目+标签

# 初始化
git init
# 添加文件
git add *
# 提交缓存
git commit -m 'first commit'
# 打标签
git tag 1.0.2
# 查看版本
git tag
# 第一次推送                    远程仓库地址
git remote add origin https://github.com/你的仓库地址
# 推送文件
git push origin master
# 推送标签
git push origin --tags

参考地址:
https://git-scm.com/book/zh/v2/Git

发布了29 篇原创文章 · 获赞 19 · 访问量 1347

猜你喜欢

转载自blog.csdn.net/s1156605343/article/details/104117912