Pages

Chinese 中文主页

Chinese 中文主页

Publications 著作

Publications 著作

Projects 项目课题

Projects 项目课题

Talks 报告与教学

Talks 报告与教学

Students 指导学生

Students 指导学生

Media 媒体报道

Media 媒体报道

Video 影像记录

Video 影像记录

Miscellaneous 杂项

Miscellaneous 杂项

Handouts

Git

Modern Statistical Graphs with R

Modern Statistical Graphs with R

Git: a Collabration Platform

[link]

Installation

What is Git & GitHub

Use Git locally

  • RStudio -> File -> New Project -> New Directory -> New Project ->Create a git repository

  • For the first time of using git, run (in terminal):

git config --global user.name "Your Name"
git config --global user.email "Your_email@xjtlu.edu.cn"
  • roll back to a previous version
git reset --hard HEAD~1

What can we do with GitHub

Further reading

Details

Git: a Collabration Platform

Installation

What is Git & GitHub

Use Git locally

  • RStudio -> File -> New Project -> New Directory -> New Project ->Create a git repository

  • For the first time of using git, run (in terminal):

git config --global user.name "Your Name"
git config --global user.email "Your_email@xjtlu.edu.cn"
  • roll back to a previous version
git reset --hard HEAD~1

What can we do with GitHub

Further reading

Comments


Add comment

Fields marked by '*' are required.
Comments are moderated. If you choose to make this comment public, it will not be visible to others until it is approved by the owner.

Reply to:

Public
Private: This reply will only be visible to you and the author of the preceeding comment.