31 lines
1.0 KiB
Org Mode
31 lines
1.0 KiB
Org Mode
#+TITLE: Acoustics
|
|
:DRAWER:
|
|
#+OPTIONS: toc:nil
|
|
#+OPTIONS: html-postamble:nil
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="css/style.css"/>
|
|
#+HTML_HEAD: <script type="text/javascript" src="js/script.js"></script>
|
|
#+HTML_HEAD: <style> #content {margin: auto;} </style>
|
|
:END:
|
|
|
|
* Add a submodule :noexport:
|
|
#+begin_src emacs-lisp :results none
|
|
(let* ((url (read-string "Add submodule (remote url) "))
|
|
(url-match (string-match "\\([^./]+\\)\\(\\.git\\)?$" url))
|
|
(path (match-string 1 url))
|
|
(path (read-string "Submodule directory " path)))
|
|
(shell-command (concat "git submodule add " url " " path))
|
|
(shell-command (concat "git submodule deinit -f " path)))
|
|
#+end_src
|
|
|
|
* Change submodule url :noexport:
|
|
First delete the submodule using
|
|
#+begin_src bash
|
|
git rm --cache submodule-name
|
|
#+end_src
|
|
|
|
Then add a new submodule with the updated url.
|
|
|
|
* Notes
|
|
- [[file:speaker-measurement/index.org][Speaker Measurement]]
|