Suggest changes with a Github Pull Request
Jump to navigation
Jump to search
Suggest changes with a Github Pull Request
Pretty straight forward, but anyways, here is one way to do it:
- Create a new branch (or fork, if it is not your repo)
- Either on github pages Code tab: enter a new branch name, then pull (or clone) the repo
- Or create the branch in your local git repo (not tested yet)
- Switch to the new branch in your local repo (git checkout new-branch-name)
- use -m option, if you already have local changes that should go into the new branch
- Make changes, commit, push
- On github create a pull request, selecting the new branch (or fork) with the changes
- If there is a github issue for that change, you can mention the pull request there with #pull-request-number
- If satisfied with the changes, merge pull request on the github page