Closed samelawrence closed 10 years ago
@evilstreak Fixed back that issue you found. Should be ready to go now.
Sorry to be picky, however, could you squash those two commits together? Happy to merge once you've done so.
@evilstreak No worries. This is all good learning for me. I actually don't know how to squash two commits together. Any help would be appreciated.
I generally use an interactive rebase: git rebase -i HEAD~2
That will bring up your $EDITOR
with one line for each of the previous two commits (HEAD~2
points to two commits before HEAD
) with some instructions inline.
Change the pick
to squash
for the second commit and then save and quit — that'll combine the contents of the two commits together and open up your $EDITOR
again to confirm the commit message.
Here's a more in-depth example: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html
@evilstreak Thanks for the help. Should be good to go now!
Thanks!
-- Nitpicky grammar fixes, this time without one-lining paragraphs.