R
R
run1822019-03-13 17:52:14
git
run182, 2019-03-13 17:52:14

Why are new created folders not included in the git index?

when I create new files or edit old files/folders, the changes are visible with the git status command, but when I create a new folder, it does not get into the index. Why can this be and how can it be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-03-13
@run182

empty folders are not added.
if they are desperately needed, an empty file is created in them (usually they are made hidden) and committed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question