github


常用命令

导入本地.git到github

  1. git remote add origin https://github.com/username/Hello-World.git
  2. git push -u origin master

从父项目更新

  1. git remote add upstream https://github.com/octocat/Spoon-Knife.git
  2. git fetch upstream
  3. git merge upstream/master

取消提交