У меня проблема я хочу отправить commit, но не получается.
Я сначала пишу
$ git status
, мне выдает:
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: .gitignore
deleted: README.md
deleted: package-lock.json
deleted: package.json
deleted: public/favicon.ico
deleted: public/image/LIkeCheked.svg
deleted: public/image/image1.png
deleted: public/image/image10.png
deleted: public/image/like.svg
deleted: public/image/portfolio.png
deleted: public/index.html
deleted: src/App.js
deleted: src/components/card/Card.js
deleted: src/components/card/card.module.scss
deleted: src/components/header/Header.js
deleted: src/index.js
deleted: src/index.scss
deleted: src/pages/Blog.js
deleted: src/pages/Contacts.js
deleted: src/pages/Portfolio.js
deleted: src/pages/Profil.js
Untracked files:
(use "git add <file>..." to include in what will be committed)
web/
no changes added to commit (use "git add" and/or "git commit -a")
Потом пишу
git commit -m "nwe commit web"
Нажимаю enter и выдает:
fatal: Unable to create 'D:/.проекты(сайты)/react/nikita/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.