Clone a Project/Repository from GitHub

Index

Cloning

Cloning action mirrors all the files with the folder structure to/from web-based tool GitHub. Cloning is the first step of replication. Once cloning is done, Project can be developed, issues can be reported and fixed.

Steps to Clone a Repository:

  1. From the last post Create a Repository on GitHub, we had a repository created as below:

RepositoryNewCreated

In Section ‘h’, we have a link which enables us to clone WebIDE projects. We copy the link using the ‘copy’ button in front of the link.

2. Now login to WebIDE. We have a repository called ‘myTestRepository’ in GitHub which we shall replicate in WebIDE.

3. Right click on project ‘Workspace’ > Git > Clone Repository

CloneRepository

4. A popup comes and asks for URL of Git repository. Enter the URL from Step 1 and click ‘Clone’.

CloneRepositoryPopup

5. This asks for User authentication for GitHub. Enter your GitHub credentials:

CloneRepositoryAuthentication

6. On successful authentication, Git asks for Commit & Push confirmation. Git basically ignores system files. Do a Commit and Push. With this, WebIDE pushes all repository artifacts to GitHub.

CloneRepositoryCommitPushPopup

7. On above confirmation, Clone completes and a popup is shown for same.

CloneCompleted

8. Check WebIDE for myTestRepository as below:

replicationInWebIDE

The files and folders are preceded by a green dot which shows that GitHub and WebIDE are in sync.
This completes Cloning of repository from GitHub.

Index

Advertisements

2 thoughts on “Clone a Project/Repository from GitHub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s