git does not update pages

28 views
Skip to first unread message

Steve Herrick

unread,
Sep 14, 2016, 9:23:07 PM9/14/16
to gitit-discuss
I'm trying to learn to update my gitit site through git. I followed the instructions on the Readme page closely, repeatedly, but it isn't working. 

I can clone the site with no trouble. I can edit the files, save them, commit them, and push them. In fact, I can even see the updated files on the remote server on gitk (running on the remote server), in the master branch. However, the changes are not reflected on the pages, and any changes I make through the web interface do not show up in git. They exist in two different worlds, somehow. 

Is there some simple step I'm missing?

John MacFarlane

unread,
Sep 15, 2016, 4:05:19 AM9/15/16
to gitit-...@googlegroups.com
First try turning off caching (`use-cache: no` in config);
it might be a caching issue. See the section on Caching
in the README.

If it's caching, you can add a git post-commit hook to the
server that runs expireGititCache (see README).

+++ Steve Herrick [Sep 14 16 18:23 ]:
> --
> You received this message because you are subscribed to the Google
> Groups "gitit-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [1]gitit-discus...@googlegroups.com.
> To post to this group, send email to [2]gitit-...@googlegroups.com.
> Visit this group at [3]https://groups.google.com/group/gitit-discuss.
> For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
> 1. mailto:gitit-discus...@googlegroups.com
> 2. mailto:gitit-...@googlegroups.com
> 3. https://groups.google.com/group/gitit-discuss
> 4. https://groups.google.com/d/optout

Steve Herrick

unread,
Sep 16, 2016, 1:49:42 AM9/16/16
to gitit-discuss
It wasn't caching. That was already set to "no."

What happened was, I initiated gitit in ~ and connected git to there, but then I created a start-up script to automatically start gitit. On the next reboot, the script started gitit at /, and created a new wikidata directory there. The original interacted just fine with git, and the new one interacted just fine with the web interface, but neither had anything to do with the other. 

John MacFarlane

unread,
Sep 16, 2016, 4:12:20 AM9/16/16
to gitit-...@googlegroups.com
Aha. You can set the repository location in config,
that should take care of it!

+++ Steve Herrick [Sep 15 16 22:49 ]:
> > an email to [1][1]gitit-discus...@googlegroups.com.
> > To post to this group, send email to
> [2][2]gitit-...@googlegroups.com.
> > Visit this group at [3][3]https://groups.google.com/
> group/gitit-discuss.
> > For more options, visit [4][4]https://groups.google.com/
> d/optout.
> >
> >References
> >
> > 1. mailto:[5]gitit-discus...@googlegroups.com
> > 2. mailto:[6]gitit-...@googlegroups.com
> > 3. [7]https://groups.google.com/group/gitit-discuss
> > 4. [8]https://groups.google.com/d/optout
>
> --
> You received this message because you are subscribed to the Google
> Groups "gitit-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [9]gitit-discus...@googlegroups.com.
> To post to this group, send email to
> [10]gitit-...@googlegroups.com.
> Visit this group at [11]https://groups.google.com/group/gitit-discuss.
> For more options, visit [12]https://groups.google.com/d/optout.
>
>References
>
> 1. javascript:/
> 2. javascript:/
> 5. javascript:/
> 6. javascript:/
> 7. https://groups.google.com/group/gitit-discuss
> 8. https://groups.google.com/d/optout
> 9. mailto:gitit-discus...@googlegroups.com
> 10. mailto:gitit-...@googlegroups.com
> 11. https://groups.google.com/group/gitit-discuss
> 12. https://groups.google.com/d/optout

Reply all
Reply to author
Forward
0 new messages