GIT 101 for you guys that haven't really used git. - Sincerely Jin <3
MAKE AN ACCOUNT WITH GITHUB https://github.com/
FOLLOW THIS DOC AND SETUP YOUR GIT: https://help.github.com/articles/set-up-git/
Open your (git bash) terminal
Go to a directory you set as the dedicated MTE 204 directory. You can do that using "cd":
$ cd <path to directory>
There, you want to clone this repository. To clone this repository, run this command in the shell:
git clone git@github.com:lee12jin/MTE204_1b.git
You will notice that you now have all the components of the repository inside a project folder... You can work with it and change the matlab code
IMPORTANT: pushing and pulling: pulling is a way to update your computer with the most recent code. pushing is a way to send your updates to github, where our code is being hosted.
How to pull: To pull, just run this command inside the project folder:
git pull
How to push: ALWAYS PULL BEFORE PUSHING. Somebody else's updates may tamper with your newest code. It's difficult on the team if you push code that doesn't work with somebody else's code. Everybody gets affected by this.
git pull
Verify that everything is fine, then...
git push
![Alt text][id] [id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat"