Skip to content

RookieLD/c2018

 
 

Repository files navigation

c2018

基本操作流程

  1. https://github.com/luckymark/c2018 fork 到你自己的github中

  2. 创建本地仓库:(如果用机房的电脑,则建议clone到U盘,便于携带)

    git clone https://github.com/ **YourGithubAccount** /c2018
    cd c2018
    ls
    
    git config user.name=???
    git config user.email=??? 
    
    git remote -v
    git remote add upstream https://github.com/luckymark/c2018
    
  3. 修改、提交代码:

    git status
    git add .
    git commit -m "完成了running letter"
    git push
    
  4. https://github.com/luckymark/c2018 获取更新

    git fetch upstream
    git merge upstream/master
    

    在github网页上更新的方法

    fork后如何同步源的新更新

  5. 请求老师review代码的方法:在github网页上发起一个PR(pull request)即可

  1. level0 可选,用于还不够熟练的同学练手(嫌题目太少的同学,那就刷刷咱神技大学的OJ吧,从低到高地刷哈)
  2. level1 必做,课堂+课后练习
  3. level2 可选,供精力旺盛到变态的大神们发泄之用

参考

GIT

史上最浅显易懂的Git教程! 廖雪峰

Pro Git(中文版)

撸袖子 动手学Git 专治菜鸟

Git远程操作详解 阮一峰

fork后如何跟上源repo的变化

Markdown

Markdown入门指南

其他

免费的计算机编程类中文书籍

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published