23 September 2015

git –distributed-is-the-new-centralized

Straight from the horse’s mouth:

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git was initially designed and developed by Linus Torvalds for Linux kernel development in 2005.

Git documentation: https://git-scm.com/documentation


Learn Git in your browser for free with Try Git.


Two main Web-based Git repository hosting services: GitHub.com and BitBucket.org.


Basic commands:

The following commands are used in the command line. They assume you’re within the repository directory on your filesystem.

Clone

$ git clone https://github.com/username/repo.git

Add

$ git add --all

Commit

$ git commit -m "Message about changes/additions"

Push

$ git push origin master


GitHub with R and RStudio

http://www.molecularecologist.com/2013/11/using-github-with-r-and-rstudio/