Skip to content

error: pathspec 'master' did not match any file(s) known to git #306

Open
@asthagangwar3

Description

@asthagangwar3

using svn2git for migrating svn to git but getting below error,

\MYProject\Demo>svn2git https://shwetakhai-w10.cybage.com:8443/svn/SVN2GIT/ --authors authors.txt -v
Running command: git svn init --prefix=svn/ --no-metadata --trunk='trunk' --tags='tags' --branches='branches' https://shwetakhai-w10.cybage.com:8443/svn/SVN2GIT/
Initialized empty Git repository in D:/MYProject/Demo/.git/
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

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