一分钟学会git

首先 克隆 源码地址

  git clone git://github.com/jquery/jquery.git

更新
  git pull
查看状态
  git status
暂存所有(注意 . 表示全部暂存)
  git add .
查看状态
  git status
暂存备注
  git commit -m "备注"
更新
  git pull
提交
  git push
查看状态
  git status

猜你喜欢

转载自www.cnblogs.com/yuwen1995/p/10793144.html