platformsh/platformsh-cli — pull request #117 by pjcdawkins (2014-09-26 17:36:12+00:00)
Title: Detect the current environment without using the upstream.

Developers should have the freedom to set other upstreams on their Git branches.

Plus, there are other bugs e.g. issue #109 which mean that the upstream is not set properly.

I haven't tested this as I'm on a train without enough connectivity.