Feel free to add the fix to existing code as a separate commit. I will take a look at merging this tomorrow once those changes are made. Thanks!

On Sun, Dec 1, 2013 at 10:14 PM, Timothée Peignier
<notifications@github.com> wrote:

>> @@ -230,6 +231,14 @@ func app() (string, error) {
>>  	return gitRemoteApp, nil
>>  }
>>  
>> +func remoteFromGit() string {
>> +	b, err := exec.Command("git", "config", "heroku.remote").Output()
>> +	if err != nil {
>> +		return "heroku"
>> +	}
>> +	return strings.Trim(string(b), "\r\n ")
> That would do the trick yes, good catch.
> ``appFromGitRemote`` should probably use it too.
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/heroku/hk/pull/23/files#r8018221