0
Git тянуть на удаленном сервере преждевременно остановлено из-за неправильных разрешений:ремонт незаконченным мерзавец тянуть
[email protected] src $ git pull
...
Updating 45e2051..80f6f43
error: unable to create file src/templates/s/logo.eps (Permission denied)
Теперь разрешения должны быть установлены, но репо сломана, что мне делать? Я новичок в git, и критически важно не совершать ошибку сейчас, вот почему я спрашиваю здесь.
[email protected] src $ git status
# On branch master
# Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.
#
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: templates/base.html
# deleted: templates/howto.html
...
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# templates/management.html
# templates/recaptcha.html
...
no changes added to commit (use "git add" and/or "git commit -a")
ли 'мерзавец сброса --hard' очистки файлы без следа? –
@Cupcake хорошая точка, исправлено – fge
Отлично, это сработало, мне пришлось добавить -f к первой команде: 'git clean -f -d' – zahory