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
原文地址:https://www.cnblogs.com/zhang1422749310/p/11255979.html