Git. How to roll after git add *.c
Marcee last edited by
Trained and carried out teams:
$ git add *.c $ git add README $ git commit -m 'initial project version'
git add .READMECompleted by mistake.
git statusit's a huge list.
Maybe it's not a problem, if so, I'll be grateful for a simple explanation.
Answering the question, cancel everything.
git add ...one team:
git reset .
In this particular case, something else is important. You created a repository guitar in your home directory, that is,
home♪ There's definitely no need. To get him out of there, just remove the file.
rm -r ~/.git
Then create a new folder:
cd ~ mkdir learn_git cd learn_git # создаем репозиторий git git init
Now in this folder, you're doing your training experiments.