Version Control for Software Development

Version Control for Data Analysis

Git

Branching model for software development

alt text

Analysis environment

Possible solutions

Support for Git in R

system("git rev-parse HEAD")
c3d2756cb4dfdd9adce9b54b72579de20e25a41e

system("git describe --tags")
1.0

system("git remote show origin")
remote origin
Fetch URL: git@versioncontrol.chop.edu:bic/ganguly
Push  URL: git@versioncontrol.chop.edu:bic/ganguly
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)