-1

THis is likely the dumbest question of all time on stack overflow... but I have spent close to an hour attempting this, with no luck, and am considering signing up to BitBucket.

1) Dragging and dropping into github, does not upload entire folder, but 5 out of about 30 .py files, and does not include any of the html, css etc... and does not keep any heirarchal structure as it only includes .py files

2) Command line: having git commit my folder, I try to git push origin and am met with this error:


[email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.


I have no idea what this means...

4
  • 2
    I presume you've run git remote add origin [email protected]:[user]/[repo].git for attempt 2? That error is an authentication error. You can check whether you have ssh (public key) authentication set up, and read more here github.com/settings/keys Commented Mar 2, 2020 at 0:39
  • 2
    it seems like a problem with your public key. Search on google and sort that. You can also clone your directory and then add files in there and then commit and push it Commented Mar 2, 2020 at 0:39
  • stackoverflow.com/… Commented Mar 2, 2020 at 1:12
  • 1
    I recommend going through the Github tutorials: Getting started with Git and GitHub Commented Mar 2, 2020 at 4:35

2 Answers 2

0

Did you use 'git init' to initialize the repo? What do you get from git remote - v?

edit

This atlassian doc migth help: https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

Sign up to request clarification or add additional context in comments.

Comments

0

Have you created a repo on github? You will need to:

  • Add changed files
  • Commit your changes
  • Push to the remote repo

https://help.github.com/en/github/getting-started-with-github

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.