Skip to content

command failed - error: pathspec 'master' did not match any file(s) known to git. #230

Open
@jaydipr

Description

@jaydipr

This might be a quick one but I tried couple of options and nothing seems to work. My SVN repo URL is correct too, it's just above the trunk. Appreciate any help/direction. Let me know if you need any more info. I am trying this on Win7 64-bit machine.

Executed command - svn2git https://xyz.xyz.com/svn/svnrepo/ --verbose --authors authors.txt

console output -
Running command: git svn init --prefix=svn/ --no-metadata --trunk='trunk' --tags
='tags' --branches='branches' https://xyz.xyz.com/svn/svnrepo/
Running command: git config --local --get user.name
Running command: git config --local svn.authorsfile authors.txt
Running command: git svn fetch
Running command: git branch -l --no-color
Running command: git branch -r --no-color
Running command: git config --local --get user.name
Running command: git config --local --get user.email
Running command: git checkout -f master
error: pathspec 'master' did not match any file(s) known to git.
command failed:
git checkout -f master

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions