I have installed Github desktop and git on windows machine, I got a github account and created a dummy repository.
When I intend to upload my package through git bash command line, it fails with error:
fatal: refusing to merge unrelated histories
Try the following:
cd /path/to/my/repo rm -rf .git git init git add --all git commit -m "Initial commit" git remote add origin <remote repo URL> git push -u origin master
Be sure to replace
/path/to/my/repo with path to your repo directory(e.g.
<remote repo URL> with URL to your remote repo (e.g.