How to use this Code
The code for this site is maintained using GitHub. Git is a source code management system that was developed by Linus Torvalds. GitHub is a great code host that allows users to upload unlimited open source projects and this is why I have chosen it as the host for the code that is discussed in the videos.
To download the code (for example):
1 |
git clone git://github.com/derekmolloy/beaglebone.git |
Beaglebone Source Code Examples:
All code examples can be found at the site: https://github.com/derekmolloy
Create and use your own Code Repository:
Here are the steps to create your own repository:
- Create your own account on GitHub.com – you should have a username and password, which you keep private.
- Use the web interface to set up a new project – There is a great guide at: http://git-scm.com/documentation
- Use the following steps to add code to your project and update your git project
12345678910111213(Replace this with your own git repository)git clone https://github.com/derekmolloy/beaglebone.git(add your own code to your project)git add *git statusgit diffgit commit -m "update status text"(should be prompted for your username and password)git push