码迷,mamicode.com
首页 > 其他好文 > 详细

Git的使用

时间:2020-05-02 18:59:50      阅读:57      评论:0      收藏:0      [点我收藏+]

标签:blog   https   git   创建   远程   github   仓库   com   tps   

git status 查看状态
git add . 添加所有文件
git commit -m"[备注信息]" 提交
git remote add origin https://github.com/kong/springcloud.git 连接远程仓库
git push -u origin master 推送本地
git branch 查看所有分支
git checkout -b [分支名] 创建分支并切换分支
https://blog.csdn.net/kq1983/article/details/83271946

Git的使用

标签:blog   https   git   创建   远程   github   仓库   com   tps   

原文地址:https://www.cnblogs.com/2001-12-30hdx/p/12818815.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!