![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
酷酷的旭
微信871943670
展开
-
git新建分支切换
原创 2019-11-05 12:12:13 · 3462 阅读 · 0 评论 -
git操作命令
git branch //查看当前分支git branch -a //查看所有分支git add -a //将所有改动存到暂存区git commit -m "备注" //将暂存区的改动提交给本地的版本库git pull origin 分支 //从远程主机拉取master分支git push orgin 分支 //推送本地的master到origin主机...原创 2018-11-09 18:13:03 · 5492 阅读 · 0 评论 -
git新项目上传代码到码云
git init //初始化(文件夹中会生成一个.git文件) git remote add origin 码云项目地址git pull origin master (将码云上的仓库pull到本地文件夹)git add .git commit -m '备注'git push origin master...原创 2019-08-12 09:59:23 · 5922 阅读 · 0 评论