Git and Github
Git
Git is very powerful version control software. Git can track the changes in all the files of your projects and allow collarboration of multiple contributors.
For details, please check: https://git-scm.com/
Github
Github is an online platform, offering a cloud-based Git repository.
Create a new id
Github signup page:
https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F&source=header-home
Clone a repository
Syntax:
git colne <the url you just copied>
Example:
git clone https://github.com/Cloufield/GWASTutorial.git
Update the current repository
git pull
git setup
$ git config --global user.name "myusername"
$ git config --global user.email myusername@myemail.com
Create access tokens
Please see github official documents on how to create a personal token:
Useful Resources
- Github training: https://training.github.com/
- Learn git branching : https://learngitbranching.js.org/