Make a Pull Request on Github

February 8, 2017 - git

note: you need to have ssh key associated with github
Look into ssh post and check ssh keys on

Fork the original project on github

Create a local copy

git clone your-fork.git

Make the original repository a remote repo

git remote add upstream git@________.git
git fetch upstream
git branch --set-upstream-to=upstream/master master

Create branch

git checkout -b name_of_the_branch

Make changes in code and commit, push to repo

git add filename
git commit -m "Message for commit"
git push -u origin name_of_the_branch

-u was there so we can push next time with git push

Now go to github and Submit request (Green button on local repo)

base fork: ivandoric/olympus
base: master

head fork: 22nds/olympos
compare: functions_sidebar_ids

Tags: ,