[XJTLU HES Workshop] 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 powered by Disqus