os232

links

OS related:

  1. My personal notes
    I do work here.

  2. Vi cheatsheet
    Vi commands. :thumbs:

  3. Bash cheatsheet
    Contains most of the syntax in bash, which is good enough.


Git related:

  1. Stackoverflow: How do I clone a subdirectory only of a Git repository?

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.

  1. How to push to multiple remotes at once

Awesome if you have a gitlab acccount


Etc:

  1. List of emojis supported by Github’s markdown

See title. :palm_tree: