Closed bbbenji closed 2 years ago
Thanks for this. Unfortunately it broke the build, as a test also needs updating. Could you fixup the commit (i.e. so the code and test are in the same commit)?
Here's the test that failed: https://travis-ci.org/gma/nesta/jobs/35003552
Cheers…
Sorry, don't know what you mean. I created a Pull Request from a different branch but it didn't pass.
I just mean that I'd like to modify your existing commit, so that it contains both the new GA code and an update to the test that's failing.
You can do that with the --amend
option to git commit
. See http://git-scm.com/book/en/Git-Basics-Undoing-Things
Sorry for the mess I'm making. I'm trying to learn.
Looks like it passed on Ruby 2.1.1
No problem - it’s not really mess, it’s just issues that we can close when you’re done.
Well worth taking the time to learn it. Have a look into topic branches too, if you’re interested in learning a bit more. They’re the ideal way to submit pull requests without adding commits (that might need to be deleted during PR review) to your own master branch.
http://git-scm.com/book/en/Git-Branching-Branching-Workflows#Topic-Branches
Pull requests made from a topic branch “track” that branch, so you can force-push a topic branch to GitHub after you’ve filed a PR, in order to update the code on that PR. Feel free to close #149 and make a pull request if you want to try that out...
On 11 Sep 2014, at 17:02, Benji notifications@github.com wrote:
Sorry for the mess I'm making. I'm trying to learn here. I'll get it.
— Reply to this email directly or view it on GitHub.
@bbbenji Look into doing an interactive rebase to squash your commits down to one. The build should pass now if you update this PR.
http://git-scm.com/book/en/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages
Google has updated their tracking code for Universal Analytics. This pull request updates the old code in Nesta with the new one.