Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.95 KB

readme.md

File metadata and controls

68 lines (45 loc) · 1.95 KB

Here's the contribution guide formatted for direct use in your README file:

# Contributing to Assignment Repository

Welcome! This repository is used to manage assignment submissions. To submit your assignment, please follow the steps below.

## How to Submit Your Assignment

1. **Fork the Repository:**
   - Click on the "Fork" button at the top right corner of this repository’s page to create a copy of the repository in your GitHub account.

2. **Clone the Forked Repository:**

   ```bash
   git clone https://github.com/YourUsername/AssignmentRepo.git

Replace YourUsername with your GitHub username.

  1. Create a New Branch:

    git checkout -b YourRollNumber

    Replace YourRollNumber with your actual roll number (e.g., 20123456).

  2. Create a New File:

    • In the root directory, create a new file named YourRollNumber.txt. Replace YourRollNumber with your actual roll number.

    • Inside this file, you can add a simple statement like:

      This is the submission for Roll Number: YourRollNumber
      
  3. Commit Your Changes:

    git add YourRollNumber.txt
    git commit -m "Add assignment submission for Roll Number YourRollNumber"

    Replace YourRollNumber with your actual roll number.

  4. Push Your Branch to Your Forked Repository:

    git push --set-upstream origin YourRollNumber
  5. Create a Pull Request:

    • Go to the original repository.
    • Click on the "New Pull Request" button.
    • Select the branch with your roll number and submit the pull request.

Additional Notes

  • Ensure your file is named exactly as your roll number with .txt extension.
  • Do not modify any other files in the repository.
  • Ensure your pull request is created from a branch named after your roll number.

Conclusion

Thank you for your submission! We look forward to reviewing your pull request.


You can copy and paste this into your README file.