I’m a still beginner and am thinking about if I should really be submitting a pull request. Fortunately, everyone has something to contribute and that is why it is open source. So, let’s start.
Pull request is workflow method for contributing to an open source project. It means you can edit someone else’s code (or documentation) in Github.
There are two ways when dealing with pull requests. First one is from a forked repository and second one is from a branch within a repository. I’m going to focus on the first one.
1- Go to the Github Repo (upstream) which you want to send your pull request to and click the fork button.
2 – You have a copy of the repo on your account.
3 – Now, you can create a local clone:
git clone https://github.com/gulistanboylu/angular-meteor-docs.git
4 – In this step you should create a new branch for your changes. Create a new branch :
git checkout -b branch-name
5 – Now, you can work on a new branch and commit to branch.
git add commit -m “Commit message”
6- Push changes to origin.
git push origin branch-name
7- Go to the upstream repo and click Compare & pull request. And the next step is to write an explanation for your proposed changes and to click on the Create Pull Request button.
And that’s it! Thank you for reading