Skip to content
timbrody edited this page Nov 30, 2012 · 7 revisions

This page is for committers on the main eprints/eprints core.

How do I create a pull request (non-trivial change requiring review)?

You must have git 1.7+ and a checkout of the master branch.

Create a new branch to do your work in, where [branchid] is a meaningful ([A-Z0-9]) name for the feature work/fix:

git checkout -b [branchid]

Make your changes then commit them to the branch:

git add /path/to/changed/files git commit

Push your local branch to the github repository:

git push -u origin [branchid]

Now go to the github Web UI for eprints/eprints and you will be presented with an option to create a 'pull' request from your new branch.

You will probably want to switch back to the master branch:

git checkout master

And pull any new changes:

git pull

Deleting a local branch (careful!):

git branch -d [branchid]

Deleting a branch from the github repository (careful!):

git push origin --delete [branchid]

Clone this wiki locally