Git Quick Reference Guide - alexsleat/GPC_IRB-120 GitHub Wiki
#Git Quick Reference Guide
Git is the website you are on currently, it is our change log system which we use to control our software development. This website contains a fantastic cheat sheet to explain the git process.
To initialise the git repository:
cd
git init
git clone [email protected]:alexsleat/GPC_IRB-120.git
cd GPC_IRB-120
git checkout master
git pull
git branch
Following the above steps should download the git repository to ~/GPC_IRB-120/ and git branch should now return master, ensuring you have downloaded the correct software.
To commit code to repository use the following:
git pull origin master
git add FOLDERNAME
git commit -a
git push