Git Command

  1. 撤回多个commit的一个方法: git reset --hard 7406f2586c3
  2. git config --global user.name "Si Ding"

  3. git history
    git log

  4. git push origin feature/testing
  5. git pull
  6. 查看所有分支  git branch -a 

  7. 查看本地分支  git branch

  8. 切换分支  git checkout -b origin/feature/Fsd

  9.  

posted on 2018-12-19 12:54  up家的知识小天地  阅读(87)  评论(0)    收藏  举报