github 常用命令总结大全
导读:收集整理的这篇文章主要介绍了github 常用命令总结大全,觉得挺不错的,现在分享给大家,也给大家做个参考。 gIThub常用命令最近开始研究github,mark下一些常用命令git...
收集整理的这篇文章主要介绍了github 常用命令总结大全,觉得挺不错的,现在分享给大家,也给大家做个参考。 gIThub常用命令
最近开始研究github,mark下一些常用命令
git remote add upstream https://github.com/winterIce/testTitle.git(别人的repository) // 新建分支用于存放别人的repository
git clone https://github.com/winterIce/testTitle.git 克隆到本地
git fetch branch2//更新信息
git merge branch2/master //merge本地信息
git add . //添加新文件或者更改新文件
git remove ** //删除文件
git commit -m 'by who do what' //提交文件到本地
git push push到服务器上
git pull origin master 从服务器上拉取信息
git remote 查看repository上的所有分支
git branch -a 查看所有分支
git branch -r 查看远程分支
git branch -d *** //删除分支
git branch *** //新建分支
git checkout ***//切换分支
git status //查看状态
git LOG //查看提交修改记录
以上就是对Git命令的整理,后续继续补充,谢谢大家对本站的支持!
您可能感兴趣的文章:- 分享Git常用7大技巧和命令
- Git 常用命令清单(整理且详细)
- 日常收集整理的Git常用命令
- Git基本常用命令
- Git 命令详解及常用命令整理
- Git 常用命令整理
- git 使用及常用命令
- Git 常用命令速查表(图文+表格)
- 分享下自己总结的Git常用命令
- 全网最全Git命令手册
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: github 常用命令总结大全
本文地址: https://pptw.com/jishu/608425.html
