Git init не в том каталоге? Как восстановить? (теоретическая ситуация)

Вы не можете и не должны. Kali — это специфический дистрибутив, предназначенный для пентестинга, и настраивать его как медиацентр не имеет смысла.

Из официальной документации Kali:

Kali Linux is specifically geared to meet the requirements of professional penetration testing and security auditing. To achieve this, several core changes have been implemented in Kali Linux which reflect these needs:

(...)

A minimal and trusted set of repositories: given the aims and goals of Kali Linux, maintaining the integrity of the system as a whole is absolutely key. With that goal in mind, the set of upstream software sources which Kali uses is kept to an absolute minimum. Many new Kali users are tempted to add additional repositories to their sources.list, but doing so runs a very serious risk of breaking your Kali Linux installation.

1
16.04.2019, 20:21
1 ответ

Если вы запустите git initв каталоге, который еще не является репозиторием git, удаление .gitотменит все эффекты git initбез каких-либо других побочных -эффектов.

4
27.01.2020, 23:22

Теги

Похожие вопросы