Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.06 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.06 KB

Git Exercise: Contributing to a Repository

In this exercise, you'll learn the basic Git workflow for contributing to a project. Follow these steps:

Steps

  1. Fork the Repository

  2. Clone Your Fork

   git clone https://github.com/YOUR-USERNAME/Computer-Science-Workshop.git
   cd Computer-Science-Workshop   
  1. Create a New Branch
   git checkout -b your-name  
  1. Create a File with a Unique ID
   # Generate a UUID and save it to a file
   curl https://httpbin.org/uuid > your-name.txt
  1. Stage and Commit Your Changes
   git add your-name.txt
   git commit -m "Add unique identifier file"   
  1. Push to Your Fork
   git push origin your-name  
  1. Create a Pull Request