In this project, you will learn how to clone the code from GitHub to your computer.
MethodYou have 4 methods to get your code:
- Clone with GitHub Client
- Clone with SourceTree
- Download as a zip file
- Using command line
Open GitHub website and choose the code you want to clone. Like ms-iot/holobot git.
Step 2: Clone the code (with GitHub Client)Open GitHub client or choose Clone or Download and then Open in Desktop. Clone by navigate to File => Clone repository. Enter the GitHub repository website. Like the example above, the website is https://github.com/ms-iot/holobot. Remember to add .git at the end and choose a location you want to clone.
Step 2: Clone the code (with command line)At your command line (with Windows), enter
cd <your folder path>
Replace <your folder path>
to the folder path you want to clone. Next, enter:
git clone <git repository>
Replace the <git repository>
to the repository you want to clone. With the example above, I will enter:
git clone https://github.com/ms-iot/holobot.git
Step 3: See your code!Go to the folder path you cloned to.
Comments
Please log in or sign up to comment.