Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch&rebase support for pull requests #56

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

kohsuke
Copy link

@kohsuke kohsuke commented Jun 16, 2011

I work on projects on GitHub that receives a fair number of pull requests, and most of the time I need to make some slight adjustments on them before merging changes. I also do fetch+rebase when merging pull requests in an attempt to create more linear history. I find it easier to comprehend what was going on that way.

To that end, I added a command to do this in one shot:

  • you run "github fetch-pull 3" where 3 indicates a pull request ID.
  • the command looks at your remote and figure out which repository this is.
  • it then fetches and rebases the pull request, then finishes.

If you find this command useful, would you please consider merging it?

@nixon
Copy link

nixon commented Jun 27, 2011

Here's a commit that adds support for private repos to kohsuke's fetch-pull feature:

nixon@d856a17

Support for private repositories.
@kohsuke
Copy link
Author

kohsuke commented Jun 28, 2011

The change mentioned in the comment from nixon is now merged into this pull request.

nixon and others added 8 commits June 28, 2011 16:44
add merge, rebase and do-nothing options to the fetch-pull command.  i
like being able to fetch a pull request by number, but sometimes i'd
rather not have the rebase happen automatically.
There's a lot more work to be done to convert other calls, but this is a
start.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants