Skip to content

Instantly share code, notes, and snippets.

@edcote edcote/
Created Dec 13, 2017

What would you like to do?
GitHub Notes


Steps to submit a patch to a public repo

1. Fork the repository using GUI
1. Clone your forked repo
1. Create the branch locally, e.g.: `git branch devel-edcote` (should be descriptive name)
1. Push the new branch up to your fork: `git push origin devel-edcote`
1. Switch to your new new: `git checkout devel-edcote`
1. Do development work, make commits, ...
1. Pull from upstream: `git pull --rebase upstream devel-edcote` (CHECKME)
1. Push your changes to your repo: `e.g. git push`

Adding your private remote

More info:

# add remove repo
git remote add github
# show remote branches
git branch -r
# pull remove repository
git pull remotename branchname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.