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

V1.2.x #467

Closed
wants to merge 3 commits into from
Closed

V1.2.x #467

wants to merge 3 commits into from

Conversation

mwidner
Copy link

@mwidner mwidner commented Dec 9, 2014

This is a fix for issue #466

@tilgovi
Copy link
Member

tilgovi commented Dec 9, 2014

@mwidner thanks! Could you remove the build files from the PR, please?

@mwidner mwidner closed this Dec 10, 2014
@tilgovi
Copy link
Member

tilgovi commented Dec 10, 2014

@mwidner did you mean to close this?

@mwidner
Copy link
Author

mwidner commented Dec 10, 2014

More: I'm trying to figure out how to get rid of those extra commits for the pull request. :P

@mwidner mwidner reopened this Dec 10, 2014
@tilgovi
Copy link
Member

tilgovi commented Dec 10, 2014

Oh, heh.

In this case, since those files are never committed, it should be enough to git rm them. In other scenarios, where you don't want to remove the file but just not change it in this commit, it's trickier.

After you've removed them, you can git commit --amend to amend the last commit.

Once you've done that, you can force push over the branch and it will update the pull request. Force pushing isn't a great thing to do if you have public collaborators or a branch, but if the LacunaStories:v1.2.x branch is just something you have for this PR, it's acceptable.

Not having to worry about rewriting history that other people may have forked and built from is one reason why making a small branch per pull request is often a good idea. That way you have a scratch space that is completely yours. So, in other words, making a PR from a branch called LacunaStories:466-overlap-fix to openannotation:v1.2.x means that you don't have to worry about LacunaStories:v1.2.x deviating from openannotation:v1.2.x.

The flow can be from feature branch (you) to upstream (here) back to downstream (you).

Hope that helps rather than confuses. I'm happy to point you to things if you need some reading.

@mwidner
Copy link
Author

mwidner commented Dec 11, 2014

Closing this one because sending a different pull request without all the junk in it... Thanks for the tips.

@mwidner mwidner closed this Dec 11, 2014
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