Skip to content

Instantly share code, notes, and snippets.

@andrepadez
Last active August 29, 2015 14:09
Show Gist options
  • Save andrepadez/f872ff020906fc120893 to your computer and use it in GitHub Desktop.
Save andrepadez/f872ff020906fc120893 to your computer and use it in GitHub Desktop.
Submodules (this is very specific, don't follow this unless you're me)
FIRST TIME
JS-Calendar
git subtree split -P libs/bundles/albumprinter -b ap-transition
online-editor
git init
do one commit first
git remote add calendar ../js-calendar/
git subtree add --prefix=src calendar ap-transition
js-calendar
git checkout develop
git branch -D ap-transition
TO MERGE:
js-calendar
git subtree split -P libs/bundles/albumprinter -b ap-transition
online-editor
git subtree pull -P src calendar ap-transition
js-calendar:
git checkout develop
git branch -D ap-transition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment