Skip to content

scp like syntax repository URL without username will not correctly handling #754

Closed

Description

@0xbadfca11

When username is in ~/.ssh/config,

Host github.com
    User git

username can omit.
Omitted remote URL occur 'unsupported protocol scheme'.

$ git clone github.com:0xbadfca11/git-lfs.git ; cd git-lfs
# (snip)
$ git remote -v
origin  github.com:0xbadfca11/git-lfs.git (fetch)
origin  github.com:0xbadfca11/git-lfs.git (push)
$ git lfs env
git-lfs/1.0.0 (GitHub; windows amd64; go 1.5.1; git 7379fa9)
git version 2.6.1.windows.1
Endpoint=github.com:0xbadfca11/git-lfs.git/info/lfs (auth=none)
# (snip)
# Add git-lfs tracking & commit
$ git push
Post github.com:0xbadfca11/git-lfs.git/info/lfs: unsupported protocol scheme "github.com"
error: failed to push some refs to 'github.com:0xbadfca11/git-lfs.git'

Using ssh:// or with username does not occur.

Activity

  1. technoweenie commented on Aug 18, 2016

    @technoweenie
    Contributor

    Adding to the roadmap in #1438.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions