jekyll-bootstrap icon indicating copy to clipboard operation
jekyll-bootstrap copied to clipboard

local updates not reflected in master

Open cyberkoi opened this issue 10 years ago • 6 comments

I'm new to this and quite confused as to why my local updates are not reflected in the site everytime I command "git add ." it tells me that my changes have already been updated and there is nothing to add/commit/push. as such, even when i create a new post and try to publish, it always tells me that the origin master is updated, when in fact has not and my post is not published.

i might have messed things up when i deleted files from my local repo and synced it to github. the changes are reflected when i jekyll serve localhost:4000 but NOT on the original website.

help!

cyberkoi avatar May 23 '15 02:05 cyberkoi

Have you checked your .gitignore?

marshallshen avatar May 23 '15 02:05 marshallshen

Just a thought. You mention "origin master". Did you mean "origin gh-pages"?

https://pages.github.com/

groundh0g avatar May 23 '15 13:05 groundh0g

I keep getting this email:

The submodule jekyll-bootstrap was not properly initialized with a .gitmodules file. For more information, see https://help.github.com/articles/page-build-failed-missing-submodule.

gitignore seems to be fine though

cyberkoi avatar May 23 '15 20:05 cyberkoi

Are you working on https://team-melbourne-rgsoc2015.github.io/?

Looks like it was forked from barryclark/jekyll-now rather than plusjade/jekyll-bootstrap. I'm not familiar with that repo, or how it differs.

Here's another user with the same issue (unresolved). http://helloburgh.me/2015/03/09/gitmodules/

And here's a user who resolved the issue. http://dsimidzija.github.io/programming/2014/02/15/jekyll-bootstrap-themes-and-github-pages/

Hope that helps. Last link looks promising?

groundh0g avatar May 24 '15 15:05 groundh0g

Any update, @snjqi188?

groundh0g avatar May 27 '15 09:05 groundh0g

@groundh0g i encountered this exact issue and inadvertently followed the process laid out here: http://dsimidzija.github.io/programming/2014/02/15/jekyll-bootstrap-themes-and-github-pages/

it worked for me. maybe consider adding a warning to the user if _theme_packages isn't included in their .gitignore when running a task in the :theme namespace?

shalka avatar Jul 19 '15 23:07 shalka