git常用操作

  • 下载
    git clone
  • 上传
    git add .
    git commit -m 'style header’
    git push
  • 拉取代码
    git pull
  • 进入分支
    git checkout index-swiper
  • 检查当前位置
    git status
  • 合并分支(还得push)
    git merge origin/index-swiper
    
原文地址:https://www.cnblogs.com/it-cuiyi/p/10956167.html