Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cima9642/Developer-Training

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
31 Commits
 
 
 
 

Repository files navigation

First Pull Request - Learn by Doing! 🎯

Welcoem! This repository is disigned to help you make your very first pull request (PR) in a safe, beginner-freindly environment.

What You'll Learn

  • How to frok a repository
  • How to clone your fork localy
  • How to create a barnch
  • How to make changes and comit them
  • How to push changes to GitHub
  • How to create a pull requst

Your Mission 🎯

This README contains intentional typos. Your task is to:

  1. Find and fix the typos
  2. Submit your fixes via a pull request
  3. (Optional) Add yourself to the CONTRIBUTORS.md file

Dont worry - you can't brake anything! This is a practise repo designed for lerning.

Prerequisites

Step-by-Step Guide

1. Fork This Repository

Click the "Fork" botton at the top right of this page. This creates your own copy of the repositry.

2. Clone Your Fork

git clone https://github.com/YOUR-USERNAME/first-pull-request.git
cd first-pull-request

Replace YOUR-USERNAME with your actuall GitHub username.

3. Create a New Branch

git checkout -b fix-typos

You can name your barnch anything descriptive like fix-readme-typos or your-name-typo-fixes.

4. Make Your Changes

Open README.md in your favorit text editor and fix the typos you find. Look carefuly - there are typos througout this document!

5. Commit Your Changes

git add README.md
git commit -m "Fix typos in README.md"

6. Push to GitHub

git push origin fix-typos

7. Create a Pull Request

  1. Go to your fork on GitHub
  2. Click "Compair & pull request"
  3. Add a clear title like "Fix typos in README.md"
  4. Descibe what you fixed
  5. Click "Create pull request"

Congratulations! You've just made your frist pull request! 🎉

Need Help?

(Optional) Add Yourself as a Contributor

After fixing typos, you're welcom to add your information to CONTRIBUTORS.md:

### Your Name
- GitHub: [@yourusername](https://github.com/yourusername)
- LinkedIn: [Your LinkedIn](https://linkedin.com/in/yourprofile) (optional)
- About: A sentence or two about yourself!

About Pull Requests

GitHub Pull Requests (PR) are a vital tool for colaborating on code and contributing to open source projects.

In this artical, we'll cover some best practises for using pull requests effectivly to streamline your workflow and ensure that changes are reveiwed and tested before being merged into the main codebase.

Best Practices:

  • Create descriptive pull request titles and descriptions: When you create a pull request, be sure to give it a descriptive title that sumarizes the changes you've made. It's also a good idea to include a detailled description of the changes in the pull request body, including any relevent context or background information. This will help other team memebers understand the changes you've made and why they're necesary.
  • Use branches to isolate changes: When making changes to a codebase, it's a good idea to create a new branch for each set of changes you want to submit. This will make it easier to reveiw and test the changes, and it will also alow you to make additional changes to the codebase without affecting the main branch.
  • Keep pull requests small and focused: It's generaly easier to review and test smaller pull requests than larger ones. Try to limit your pull requests to a single, focused change rather than a large number of unrelated changes. This will make it esier for other team members to review and test your changes.
  • Use code review tools: GitHub provides a number of tools to help you reveiw code, including inline comments, line-by-line review, and code review templates. Use these tools to provide feedbak and suggestions for improvement on the code you're reviewing.
  • Respond to feedback and requests for changes: If someone leaves a comment or requests changes on your pull request, be sure to respnd in a timely manner. This will help ensure that the review process stays on trak and that any necesary changes are made before the pull request is merged.
  • Test your changes: Before submiting a pull request, be sure to test your changes to ensure that they work as expexted. This will help ensure that the changes are ready to be merged and that they dont introduce any new bugs or isues.

By following these best practices, you can streamline your workflow and ensure that your pull requests are reveiwed and tested effectivly. With a little bit of practise, you'll be able to use GitHub Pull Requests to colaborate on code and contribute to open source projects with confidence.

Code of Conduct

This project adheres to the Contributor Covenant. By particpating, you are expected to uphold the code. Please report unacceptable behavor to Cima9642.


Happy Coding! 🚀

Remember: Everyone started as a beginer. This is your safe space to learn and make mistaks!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.