I am trying to finish the Mixed Messages project, and the most frustrating part so far is GitHub. I’ve tried all of this and gotten various error messages and then deleted the GitHub repository only to start again several times, so…yeah, not great.
I went back to the git lessons and followed them. Right now I’m at the very beginning and there’s already a problem.
MixedMessages % git init Reinitialized existing Git repository in /Users/[buncha identifying information]/MixedMessages/.git/ MixedMessages % git add main.js % git commit -m "main.js" On branch main Your branch is up to date with 'origin/main'. Untracked files: .DS_Store .idea/ nothing added to commit but untracked files present
ok… and now when I try to push this existing local repository to one I’ve just created on GitHub, I get this error message:
MixedMessages % git remote add origin https://github.com/inprogresspleasehold/MixedMessages.git fatal: remote origin already exists.
And I keep circling around to this. I’m not sure what I’m doing wrong, and nothing in the course materials is any help. I’m looking at other sources, but I’m also getting really frustrated. Can someone clarify what is going on, and where I went wrong?
Thanks in advance for any help you can give me