git

 

 

 git config --global user.name "Your Name"
 git config --global user.email "email@example.com"
 ssh-keygen -t rsa -C "youremail@example.com"
 

远程到本地

  • git clone url
  • git status
  • git add .
  • git commit -m "注释"
  • git push
 git pull

 

本地到远程

  • git init 
  • git add .
  • git commit -m "注释"
  • git remote add origin url
  • git push -u origin master

 

posted on 2019-07-27 17:37  、Discipline  阅读(110)  评论(0编辑  收藏  举报

导航