@alexsteadfast
I am noob

Почему не инициализируется репозиторий команой git add. and git add *?

При попытки инициализации пишет сообщение
killed
А далее выводит
fatal: Unable to create '/home/s/samos23/34avenue.ru/public_html/.git/index.lock': File exists.                                                                                                              
                                                                                                                                                                                                             
If no other git process is currently running, this probably means a                                                                                                                                          
git process crashed in this repository earlier. Make sure no other git                                                                                                                                       
process is running and remove the file manually to continue.

.gitignore для yii2
# phpstorm project files
.idea

# netbeans project files
nbproject

# zend studio for eclipse project files
.buildpath
.project
.settings

# sublime text project / workspace files
*.sublime-project
*.sublime-workspace

# windows thumbnail cache
Thumbs.db

# composer vendor dir
/vendor
# cubrid install dir
/cubrid

# composer itself is not needed
composer.phar

# composer.lock in applications is ignored since it's automatically created by composer when application is installed
/apps/*/composer.lock

# Mac DS_Store Files
.DS_Store

# phpunit itself is not needed
phpunit.phar
# local phpunit config
/phpunit.xml

# ignore dev installed apps and extensions
/apps
/extensions

# NPM packages
/node_modules
.env
  • Вопрос задан
  • 1132 просмотра
Пригласить эксперта
Ответы на вопрос 1
OKyJIucT
@OKyJIucT
Sunshine reggae
Удалите файл /home/s/samos23/34avenue.ru/public_html/.git/index.lock и попробуйте еще раз
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы