OS related:
My personal notes
I do work here.
Vi cheatsheet
Vi commands. :thumbs:
Bash cheatsheet
Contains most of the syntax in bash, which is good enough.
Git related:
Example: you want to clone only the TXT folder from https://github.com/cbkadal/os232/
git clone -n --depth=1 --filter=tree:0 https://github.com/cbkadal/os232/
cd os232
git sparse-checkout set --no-cone TXT
git checkout
or if you want to init an empty folder first
(inside the empty folder)
git init
git remote add -f origin https://github.com/cbkadal/os232/
git sparse-checkout init
git sparse-checkout set --no-cone TXT
git pull origin master
Note that git sparse-checkout
is currently experimental, and may behave unexpectedly with other git commands.
Awesome if you have a gitlab acccount
Etc:
See title. :palm_tree: