projects | github | twitter | rss | contact
January 2010

merging a git repo into a subdirectory

posted to writings on jan 27th, 2010 with tags git and nerd, last updated on apr 3rd, 2011

update: this behavior is now supported natively in git with subtree merging.

for a project i'm working on, i need to host a local copy of a remote git repository inside of my project's git tree, but rooted in a subdirectory. it wasn't as straightforward as i was hoping, so i'm writing this so someone else can find it.

Continue reading 394 words...