Skip to content

semicolon-school/cloning-and-forking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the guide to cloning and forking the repository for a project.

Cloning a repository

  1. Go to the repository you want to clone.
  2. Click on the green "Code" button.
  3. Copy the URL.
  4. Open your terminal.
  5. Change the current working directory to the location where you want the cloned directory.
  6. Type git clone, and then paste the URL you copied in step 3.
  7. Press Enter to create your local clone.

Raise a Pull Request in a cloned repository

  1. Go to the cloned repository.
  2. Open your cloned reopository in VS Code.
  3. Open the terminal in VS Code.
  4. Type git pull origin main to get the latest changes from the repository.
  5. Type git checkout -b "your-name" to create a new branch.
  6. Go back to the repository inside VS Code.
  7. Make a new folder with your name. Add a new file, call it README.md, and write your name in it.
  8. Add and commit the changes using the following commands:
    • git add .
    • git commit -m "Added my name"
  9. Push the changes to the repository using the following command:
    • git push -u origin your-name
  10. Go to the repository on GitHub.
  11. Click on the "Pull Request" button.
  12. Add a title and description to your pull request.
  13. Click on the "Create Pull Request" button.
  14. Send your PR in Slack to review.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published