Skip to content

Doesn't work if remote URL contains shorthands #693

Closed

Description

@williamboman

For example, I've got this shorthand in my .gitconfig,

[url "[email protected]:williamboman/"]
    insteadOf = "me@gh";

git-lfs will not expand shorthands at all;

$ git config --local --get remote.origin.url
me@gh:test

$ git push
(0 of 1 files) 0 B / 130.26 MB
Post https://gh/test.git/info/lfs/objects/batch: dial tcp: lookup gh: no such host
error: failed to push some refs to '[email protected]:williamboman/test'

Activity

  1. technoweenie commented on May 10, 2016

    @technoweenie
    Contributor

    Hi, I'm going through old issues I missed and responding to them. There is a fix for this in #1117, but it still needs some work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions