Skip to content

Instantly share code, notes, and snippets.

View Aldlevine's full-sized avatar

Aaron Levine Aldlevine

  • 127.0.0.1
View GitHub Profile
@kvnsmth
kvnsmth / example-subtree-usage.md
Last active March 24, 2025 17:21
A real world usage for git subtrees.

Let's say you have an iOS project, and you want to use some external library, like AFNetworking. How do you integrate it?

With submodules

Add the project to your repo:

git submodule add [email protected]:AFNetworking/AFNetworking.git Vendor/AFNetworking

or something to that effect.