Команда git add . и git add * не работают, т е не добавляют сразу все файлы
Не могу добавить изменения или добавление всех файлов командой git add . или git add *
Приходится добавлять каждый файл по отдельности, что-то вроде git add src/ или git add index.js
Google не помог.
acid22@MacBook-Pro-Artemij sb-pro % git st
On branch css-modules
Your branch is up to date with 'origin/css-modules'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: cfg/webpack.client.config.js
modified: cfg/webpack.server.config.js
Untracked files:
(use "git add <file>..." to include in what will be committed)
.DS_Store
.gitignore
https:/
no changes added to commit (use "git add" and/or "git commit -a")
acid22@MacBook-Pro-Artemij sb-pro % git add .
error: 'https:/github.com/Artemy87/sb-pro.git/' does not have a commit checked out
fatal: adding files failed
acid22@MacBook-Pro-Artemij sb-pro % git add *
The following paths are ignored by one of your .gitignore files:
node_modules
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: "git config advice.addIgnoredFile false"
error: 'https:/github.com/Artemy87/sb-pro.git/' does not have a commit checked out
fatal: adding files failed
acid22@MacBook-Pro-Artemij sb-pro %
Структура проекта и содержимое .gitingnore