Skip to content

Asks for "Username for '://':"  #580

Closed

Description

@Envenger

I was cloning a github repository using tortoise git.

I have permission over the git so instantly it asked the id and password of github..

After downloading all the non-lfs files github files, it asked me username and password for the lfs. Except the problem was the url it was asking for was blank.

I checked the git lfs env and found that my Endpoint was missing. So, I added this line to my config file inside .git

[lfs]
url = https://github.com/JuicedUpLabs/MidiZ.git/info/lfs

The problem now is, I had made some changes to the files in my rep and cannot pull anything. Did doing that fixed the git lfs?

Activity

  1. Envenger commented on Aug 12, 2015

    @Envenger
    Author

    Doing a "$ git lfs fetch" might seem to work..
    -- Edit --

    fetch ended..
    It download all files then threw this error.

    http://pastebin.com/tuFJRcNH

  2. technoweenie commented on Aug 12, 2015

    @technoweenie
    Contributor

    Is it possible for you to use the origin remote? I'm guessing you're using something else. This is a current limitation of Git LFS, unfortunately.

    If you can't use origin, try setting the lfs.url property in a .gitconfig file. By only setting it in your local .git directory, the setting only applies to your local clone. Any other clones will have to also set that value. You can fix this by running this:

    $ git config -f .gitconfig lfs.url https://github.com/JuicedUpLabs/MidiZ.git/info/lfs
    

    This should add a .gitconfig file that you can commit in your repository.

    I know this is a subpar workaround. It's something we'd like to fix up in the future.

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