L
L
LakeForest2021-06-09 03:21:59
git
LakeForest, 2021-06-09 03:21:59

How to fix commit error: modified content, untracked content?

[email protected] MINGW64 ~/my_tts (main)
$ git commit -m "add front"                                                    
 On branch main
Changes not staged for commit:
        modified:   frontend (modified content, untracked content)
        modified:   pythonProject/tts/audio/backend/FastSpeech2 (modified content, untracked content)
        modified:   pythonProject/tts/audio/backend/ForwardTacotron (modified content, untracked content)

no changes added to commit

60c00961706f9742002872.png
how to fill in all actual changes? but without changing anything locally. and why frontend has got such an icon?

I tried:
git rm --cached frontend
git add frontend
git commit -m "add front" - led to the same error

I don't really care about commits, as long as the code is saved locally... And push to git at least somehow...
And now half of the old code merged with the new one, the main thing was that it was not removed, but still - not a pleasant experiment. Filling it up would be just fine...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sand, 2021-06-09
@LakeForest

Have you been banned on Google?
git add .
or
git add --all
have you tried?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question