P
P
petrro2019-11-12 17:15:11
git
petrro, 2019-11-12 17:15:11

Why doesn't "git add --all" add anything?

In the project folder using the command line I write:
5dcabb831e9f5899077974.jpeg
But my files are not added. After this command, there should be a bunch of files with the name in green, but mine is empty.
There used to be this warning:
5dcabccfb4329361132681.jpeg
This may be because I moved the app.js file from the components folder to the containers folder and renamed the paths to other files.
When I wrote the command:
git config core.autocrlf true
Warning disappeared. But I still can't upload my site to github...
What can I do in my case? Maybe something needs to be deleted in the .git folder? Or what to write on the command line? I've tried everything... Help please...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lord_Dantes, 2019-11-12
@petrro

To add all files like git add .
Well and also use git bush and not the swindows terminal

S
SagePtr, 2019-11-12
@SagePtr

Maybe these files are in the .gitignore file, so they are ignored and not added.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question