/CopyGitHubRepotoComputer

Copying a GitHub Repository to Your Local Computer

Primary LanguageJupyter Notebook

CopyGitHubRepotoComputer

Copying a GitHub Repository to Your Local Computer

#how to clone a github.com repository to your computer so that you can work locally on files within the repository.

#Fork a repository and clone that repository to your computer

#1. You have a repository on github.com. (create new repository or Fork the GitHub repository.

#Open Git Bash

#Check present working directory by typing "pwd" present working directory

image

#Change the current working directory to the location where you want the cloned directory to be added

image

##Go to the page of the repository that you want to clone

Click on “Code or download” and copy the URL.

Use the git clone command along with the copied URL from earlier and press enter.

image

We are done here. The github repository is copied to your computer to check it please follow following commands.

#From your current working direcotry, change it to repository/cloned directory you just added to your computer. Type ["cd CopyGitHubRepotoComputer"]

image

#To check list of files, type ["ls"] image