Sickchill: git checkout -f master returned : error: pathspec 'master' did not match any file(s) known to git.

Created on 17 Oct 2018  路  1Comment  路  Source: SickChill/SickChill

Before submitting your issue:

Enable debug logging in SickChill settings, reproduce the error (be sure to disable after the bug is fixed)

Branch/Commit:master
OS:
Browser:
What you did: Tried to go to switch the repos either from develop to master , or master to develop
What happened: the error in the logs
What you expected: changed branch
Logs:

it checkout -f master returned : error: pathspec 'master' did not match any file(s) known to git.

Already tried with a new instalation without docker ... and its the same ... will only stay in the branch that is put during instalation , cannot change .... found a thread maybe can ohelp

https://stackoverflow.com/questions/30800454/error-pathspec-test-branch-did-not-match-any-files-known-to-git/37981441

Anyone else has this error ???

Most helpful comment

Try this:

rm -r master
rm -r origin/master
git fetch origin
git branch -r
git checkout master

Or try this one:

git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
git fetch --all
git checkout master

If that doesnt work, update git.

>All comments

Try this:

rm -r master
rm -r origin/master
git fetch origin
git branch -r
git checkout master

Or try this one:

git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
git fetch --all
git checkout master

If that doesnt work, update git.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ben-falzon picture ben-falzon  路  4Comments

Theli93 picture Theli93  路  3Comments

jkjkrules picture jkjkrules  路  3Comments

Tankyspanky picture Tankyspanky  路  4Comments

CaptainConsternant picture CaptainConsternant  路  4Comments