Pull Requests - borkdominik/bigER GitHub Wiki

  1. Create a fork of the bigER repository on GitHub
  2. Clone the forked repository locally:
git clone https://github.com/USERNAME/bigER.gi
  1. Track the upstream (original) repository as remote:
git remote add upstream https://github.com/borkdominik/bigER.git
  1. Create a new branch and commit your changes:
# base changes from master
git checkout master

# create a new branch
git checkout -b new-feature

# commit changes
git commit -m "Description of Change"
  1. If changes have been pushed to the remote repository, the branch in the local fork should be cleaned up before submitting a pull request.
# Merge changes from upstream
git fetch upstream
git checkout master
git merge upstream/master

# Rebase feature branch onto updated master
git checkout newfeature
git rebase master

# optionally, squash commits through interactive rebase
git checkout
git rebase -i master
  1. Push the changes to GitHub
git push origin new-feature
  1. Submit a new Pull Request on GitHub from the feature branch of the fork to the main branch of the remote repository.

For more information, see the following pages: