github-activity-generator icon indicating copy to clipboard operation
github-activity-generator copied to clipboard

fatal: could not read from remote repository

Open peszabolcs opened this issue 1 year ago β€’ 4 comments

Tried it several times with making new repos, making it public and private too but nothing worked. It runs the script and generates the folder with the changes, but doesn't upload it to the repo.

peszabolcs avatar May 05 '24 19:05 peszabolcs

Did you try it with the force flag? i.e git push -f

YR3 avatar May 10 '24 10:05 YR3

Then it says: fatal: not a git repository (or any of the parent directories): .git

peszabolcs avatar May 16 '24 16:05 peszabolcs

Delete Everything then start again from a new folder created in your desktop.

Keep in mind:

  • [ ] Be sure to properly create the git repo WITHOUT Initilization with a README.md for example or git init
  • [ ] specify your IDE
  • [ ] Do not git pull
  • [ ] Keep it private, it does work that way. but it's up to you.
  • [ ] Use concise language so we can help you; for an example:

It runs the script and generates the folder with the changes, but doesn't upload it to the repo. @peszabolcs

This isn't accurate and very ambigous.. πŸ˜Άβ€πŸŒ«οΈ

As an Alternative, dodgy (not sure if it's a dodgy one) workaround. you can try after creating the repo in github[.]com (without init or README.md creation) to utilize Codespaces/Web Editor, in the repo's page (github[.]com/yourgithubusername/your-new-repo/) press the dot [ . ] button and repeat the usual steps.

YR3 avatar Jul 02 '24 06:07 YR3