ii. Forking¶
Fork wire-os and its submodules.
How¶
- Fork these repos. When choosing names, just replace the
wire-os
parts with the name you desire: - Let's say, for example, we called it
diode-os
, and our GitHub username is diode123. Now we have diode123/diode-os, diode123/diode-os-victor, and diode123/diode-os-externals. Run in a Linux terminal:
cd ~
git clone https://github.com/diode123/diode-os --recursive
- Replace the wire-os-victor submodule with yours:
cd diode-os
git rm -f anki/victor
rm -rf anki/victor .git/modules/anki/victor
git commit -m "remove wire-os"
git submodule add https://github.com/diode123/diode-os-victor anki/victor
git commit -m "new submodule"
git push
- Clone diode-os-victor separately and replace the EXTERNALS submodule.
cd ~
git clone https://github.com/diode123/diode-os-victor --recursive
cd wire-os-victor
git rm -f EXTERNALS
rm -rf EXTERNALS
git commit -m "remove externals"
git submodule add https://github.com/diode123/diode-os-externals EXTERNALS
git commit -m "update externals"
git push