Skip to content

Instantly share code, notes, and snippets.

@OdinsPlasmaRifle
Last active December 21, 2022 22:50
Show Gist options
  • Save OdinsPlasmaRifle/34bde13d16f8ca613e222b16e5345b3f to your computer and use it in GitHub Desktop.
Save OdinsPlasmaRifle/34bde13d16f8ca613e222b16e5345b3f to your computer and use it in GitHub Desktop.

GIT Cheatsheet

Subtree

Basic subtree:

git subtree push --prefix {directory} origin gh-pages

Submodules

Clone with all submodules:

git clone --recurse-submodules {repo}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment