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

git 常用命令

时间:2018-12-13 20:19:54      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:git reset   git   clone   conf   分支   查看   check   比较   添加   

  • git config:配置相关信息
  • git clone:复制仓库
  • git init:初始化仓库
  • git add:添加更新内容到索引中
  • git diff:比较内容
  • git status:获取当前项目状况
  • git commit:提交
  • git branch:分支相关
  • git checkout:切换分支
  • git merge:合并分支
  • git reset:恢复版本
  • git log:查看日志

git 常用命令

标签:git reset   git   clone   conf   分支   查看   check   比较   添加   

原文地址:https://www.cnblogs.com/longl/p/10116005.html

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