git的基本使用

git branch 分支名字 创建分支
git checkout 分支名字 切换分支
git status 查看状态
git add . 全部上传
git commit -m '注释'
git merge 分支名字,在master中将副分支进行合并
git remote add 地址 提交到远程仓库
git chone 地址 复制项目

posted @ 2019-06-22 09:09  amazingli  阅读(144)  评论(0编辑  收藏  举报