(ONLY DO THIS ONCE PER REPO - EVER)
- Fork the repository for which you want to create a pull request
- Clone the repository locally. This will be your
origin
remote.git clone <url>
- Tell git in the command line where the original source came from. This will be your
source
remote.git remote add source <cloned-url-of-original-source-repo>
- Check that you have everything set up correctly. This should list the forked (
origin
) repository and the original (source
) repository.git remote -v
(MAY DO THIS MULTIPLE TIMES PER PULL REQUEST)
- Make sure you're on the
master
branchgit checkout master
- Make sure your local repo is synced with the source repo
git pull source master
- Make sure your forked repo (
origin
) is synced with your local repogit push origin master
- Create a branch, name it, and switch to it
git checkout -b <branch-name>
- Make your changes to the repo and save
- Commit your changes in Visual Studio Code (use good commit language)
- Publish
(DO THIS ONCE PER PULL REQUEST)
- Go to my github forked repo (
origin
) in a web browser - Click on "Branch" drop down menu to change to your branch
- Click "New Pull Request" button (next to "Branch" button)
- Fill out form and submit