0

I cannot push changes onto GitHub. I tried to push the same code into a new repository but I think I messed something up here...

That is the error-message I get:

PS C:\Users\tobia\chat-app> git add .

error: 'chat/' does not have a commit checked out
fatal: adding files failed

That is the link to my GitHub:

https://github.com/tostrauss/chat-app

The application compiles... it's just the pushing into GitHub that doesn't work!

I tried to create a new repository and even making a new GitHub account, also copying the codespace but nothing worked...

3
  • do you have ".git" folder in the root of your project? Commented Jun 1, 2024 at 21:39
  • I should yeah: git init Reinitialized existing Git repository in C:/Users/tobia/chat-app/.git/ Commented Jun 1, 2024 at 21:45
  • Check this: stackoverflow.com/questions/56873278/… Commented Jun 2, 2024 at 3:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.