Skip to content

098ugyvhbjkjlhgvg/Make-your-first-pull-request

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Open Source Love

Make your first Pull Request. !

A repository to help you start your open source journey! 💫

❓ What To Do

  • Add your name in the Contributors.md file to make your first pull request 🚀

How to make a Pull Request If you think that you can add a new feature or want to fix a bug. You can start contributing by following the below instructions:

Create a folder at your desired location (usually at your desktop).

  • Open Git Bash Here
  • Create a Git repository
  • Run command
 git init
  • Fork the repository
  • Clone your forked repository of the project
 git clone https://github.com/<your_username>/repository_name.git
  • Navigate to the project directory
  • Add a reference(remote) to the original repository
 git remote add upstream https://github.com/repository_owner/repository_name.git
  • Check the remotes for this repository
  git remote -v
  • Always take a pull from the upstream repository to your main branch to keep it updated as per the main project repository
 git pull upstream main
  • Create a new branch (prefer a branch name that relates to your assigned issue
 git checkout -b <YOUR_BRANCH_NAME>
  • Perform your desired changes to the code base

Check your changes

 git status
 git diff

Stage your changes

 git add . <\files_that_you_made_changes>

Commit your changes.

 git commit -m "relavant message"

Push the committed changes in your feature branch to your remote repository

 git push -u origin <your_branch_name>

To create a pull request, click on compare and pull requests

Add an appropriate title and description to your PR explaining your changes.

Click on Create pull request*9

Congratulations🎉, you have made a PR to the repository. Wait for your submission to be accepted and your PR to be merged by a maintainer. Show some ❤️ by starring this repository and do follow me for more updates✨

About

A repository to help you start your open source journey! 💫

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published