This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
block('goods')( | |
tag()('ul'), | |
content()(function() { | |
return this.ctx.goods.map(function(item){ | |
return [ | |
{ | |
elem: 'item', | |
content: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Alternative to Git Submodules using Git Subtree: http://git-scm.com/book/en/Git-Tools-Subtree-Merging | |
# Remember to replace 'subtree-repo' with the repo name | |
# --prefix can be whatever you want to call your local copy | |
$ git remote add -f subtree-repo /path/to/subtree-repo | |
$ git merge -s ours --no-commit subtree-repo/master | |
$ git read-tree --prefix=subtree-repo/ -u subtree-repo/master | |
$ git commit -m "Merge subtree-repo as a subtree." | |
# Then to update the external subtree repo: | |
$ git pull -s subtree subtree-repo master |