I worked on the project, arranged the directories more logically and deleted unnecessary directories. Zakommitil changes and flooded on githab. But it turned out that remote directories, which are no longer in the local repository, are preserved on the githaba. How to remove them from there?
$ git status
On branch master
Your branch is up to date with 'origin / master'.
Changes not staged for commit:
(use "git add / rm ..." to update what will be committed)
(use "git checkout - ..." to discard changes in working directory)
deleted: components / tick / tick.js
Untracked files:
(use "git add ..." to be in what will be committed)
.gitignore
no changes added to commit (use "git add" and / or "git commit -a")
git rm путь/имя-файла. and then commit and send to github. - aleksandr barakin