Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 01/13/2012: I certainly don’t have a branch named "-"

Joseph Palermo
Friday, January 13, 2012

Ask for Help

“Trying to write a custom Rails I18n exception handler to catch MissingTranslationData exceptions”

The API didn’t seem to do what it claimed it should.

“RubyMine EAP undo behavior seems broken, it only wants to undo a file deletion, and then go back no farther in history.”

It was suggested that RubyMine undo is context sensitive, and having focus on the file browser has a different undo stack from the editor window.

“mysql2 gem on Lion is giving us an error: “Library not loaded… Image not found” and then a path pointing down into our RVM directory.”

Building the gem with options pointing to your mysql directory was suggested.

Interesting Things

“git checkout -” will toggle you between your last two checkouts (branches or just plain SHA’s). Handy if you are switching back and forth. Can’t seem to find it mentioned anywhere in the docs though.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

2 Comments

  1. josh susser says:

    `cd -` in bash is probably the inspiration for `git checkout -`. It changes back to the previous directory. Someone was being cute :)

    January 13, 2012 at 10:59 am

  2. Franck Verrot says:

    “git checkout -”

    This behavior is actually mentioned in the man page:

    As a special case, the “@{-N}” syntax for the N-th last branch checks out the branch (instead of detaching). You may also specify – which is synonymous with “@{-1}”.

    Thanks anyway, it’s gonna be useful :)

    January 15, 2012 at 2:32 pm

Add New Comment Cancel reply

Your email address will not be published.

Joseph Palermo

Joseph Palermo
San Francisco

Recent Posts

  • Why Pivots don’t do their best work at night
  • [Standup][SF] 08/28/12: They at least strongly dislike each other
  • 06/26/12: Headless is fine, double headless is trouble
Subscribe to Joseph's Feed

Author Topics

agile (18)
named_scope (1)
ruby on rails (2)
bug (1)
performance (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >