/kevinj-emacs

Emacs config

Primary LanguageEmacs Lisp

Emacs Config

Installation

  1. Download Emacs 27
  2. Clone this repo into ~/.config/emacs

删除一个submodule

  1. mv a/submodule a/submodule_tmp
  2. git submodule deinit -f – a/submodule
  3. rm -rf .git/modules/a/submodule
  4. git rm -f a/submodule
  1. git rm –cached a/submodule
  2. mv a/submodule_tmp a/submodule

另外一种办法

Delete the relevant section from the .gitmodules file. Stage the .gitmodules changes git add .gitmodules Delete the relevant section from .git/config. Run git rm –cached path_to_submodule (no trailing slash). Run rm -rf .git/modules/path_to_submodule (no trailing slash). Commit git commit -m “Removed submodule ” Delete the now untracked submodule files rm -rf path_to_submodule