Set Up Git
- $ git config --global user.name "Your User Name"
- $ git config --global user.email"Your register email"
- $ git clone git-path
Create a local clone of your fork
Step 2: Create a local clone of your fork
Right now, you have a fork of the Spoon-Knife repository, but you don’t have the files in that repository on your computer. Let’s create a clone of your fork locally on your computer.
- On GitHub, navigate to your fork of the Spoon-Knife repository.
Under your repository name, click Clone or download.
In the Clone with HTTPs section, click to copy the clone URL for the repository.
- Open Git Bash.
- Type
git clone
, and then paste the URL you copied in Step 2. It will look like this, with your GitHub username instead ofYOUR-USERNAME
:git clone https://github.com/YOUR-USERNAME/Spoon-Knife
- Press Enter. Your local clone will be created.
git clone https://github.com/YOUR-USERNAME/Spoon-Knife Cloning into `Spoon-Knife`... remote: Counting objects: 10, done. remote: Compressing objects: 100% (8/8), done. remove: Total 10 (delta 1), reused 10 (delta 1) Unpacking objects: 100% (10/10), done.
Leave a Reply