I don't really ever push changes into the tree of a submodule; I just change what commit the submodule points to.
On Fri, Nov 6, 2015 at 4:17 PM, Ben Goodrich <goodri...@gmail.com> wrote:I don't really ever push changes into the tree of a submodule; I just change what commit the submodule points to.How do you do that? (what keystrokes / commands do you use?)
And how do you work on math or stan? Is that all done in its own repo?
On Friday, November 6, 2015 at 4:26:45 PM UTC-5, Daniel Lee wrote:On Fri, Nov 6, 2015 at 4:17 PM, Ben Goodrich <goodri...@gmail.com> wrote:I don't really ever push changes into the tree of a submodule; I just change what commit the submodule points to.How do you do that? (what keystrokes / commands do you use?)
Like if I were doing something in rstan that needed a change in Stan Math, I do
cd StanHeaders/inst/include/mathlib
git branch | grep -F "*" # master
git pull -ff # lots of new branches and commits to branches other than master
git checkout develop # it is currently behind
git pull -ff # 43 files changed, 783 insertions(+), 687 deletions(-)
# do stuff in rstan, run tests, come back to this directory
git checkout master
git log --oneline | head -n 1 # 2060c2dAnd how do you work on math or stan? Is that all done in its own repo?
Yeah. I don't push to the math submodule inside cmdstan or rstan. I only push to github.com/stan-dev/math.
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.