git notes for dal in submodule

53 views
Skip to first unread message

Tim Richardson

unread,
Jan 30, 2015, 3:11:49 AM1/30/15
to web2py-d...@googlegroups.com
Hi. I think some tips on migrating git repositories to the submodule may be appreciated. 

I think this is the idea:

to clone the repository
git clone
--recursive ...



to update an existing repository:

git submodule init
git submodule update
rm
-r gluon/dal


is the last step going to be always necessary?
 I have not used submodule before and my git is always just enough to get by, so I don't understand why gluon/dal is still in master. 






Niphlod

unread,
Feb 2, 2015, 8:04:48 AM2/2/15
to web2py-d...@googlegroups.com
the last step is only due once, for people having "the old structure" after pulling the new one

Tim Richardson

unread,
Feb 2, 2015, 6:02:38 PM2/2/15
to web2py-d...@googlegroups.com
why can't that directory be deleted in master?  

Niphlod

unread,
Feb 3, 2015, 2:14:39 AM2/3/15
to web2py-d...@googlegroups.com
master hasn't it. it's the local copy that holds it because empty dirs are not removed when you untrack-->delete all files within in git.
Reply all
Reply to author
Forward
0 new messages