Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: could not read from remote repository #37

Open
peszabolcs opened this issue May 5, 2024 · 4 comments
Open

fatal: could not read from remote repository #37

peszabolcs opened this issue May 5, 2024 · 4 comments

Comments

@peszabolcs
Copy link

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.

@YR3
Copy link

YR3 commented May 10, 2024

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

@peszabolcs
Copy link
Author

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

@YR3
Copy link

YR3 commented Jul 2, 2024

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.

@Zkh-dot
Copy link

Zkh-dot commented Dec 26, 2024

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.

Could you please specify your os, command that you used and show error how it is printed in your terminal?
I can assume that it may be because you are trying http link to repo or don't have an auth ssh key, are you certain it's not the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants