Giter VIP home page Giter VIP logo

Comments (6)

Heliosmaster avatar Heliosmaster commented on May 23, 2024

I guess that if you followed the procedure listed on the website, in particular the line
git remote set-url origin [email protected]:USERNAME/USERNAME.github.com.git

Your local repo does not point anymore to JB, but to your blog. Therefore, a git pull is of no-use, since it will try and pull from the GH repository of your blog, not from JB..

I am also here to request the functionality of upgrading. I am too "stuck" with version 0.1.0 and would like a quick command to fix everything.

from jekyll-bootstrap.

ctriantaf avatar ctriantaf commented on May 23, 2024

thats what i thought and i open this issue to solve this problem ;)

from jekyll-bootstrap.

vattay avatar vattay commented on May 23, 2024

While the bootstrap doesn't really support upgrading, git provides a way. I believe this is how I set up my site, but I can't remember every command exactly, so I can't guarantee this is correct.

First, you will want to make a branch of your blog repository that contains your actual site.

Make sure you are on the master of your current blog repo.

Run git checkout -b myblog

That makes a branch for just your stuff. You will have to set your repositories default branch to this new branch in the admin settings in github.

Run git checkout master

Then clean up the master branch and bring it back in sync with the bootstrap master branch by resetting it. You will have to find out the commit id of the last commit jade did by running

git log

git reset --hard <last_commit_id>

Assuming you have an origin branch pointing to your github blog, you must now create and upstream that points to the original bootstrap.

git remote add upstream git://github.com/plusjade/jekyll-bootstrap.git

Then point your local master branch to the remote master.

git branch --set-upstream upstream/master master

At this point you should be able to:

git fetch upstream

and

git merge upstream/master to get your master branch in synch with the bootstrap.

Finally, you can then merge your local master into your blog branch to update your site.

git checkout myblog

git merge master

from jekyll-bootstrap.

blankyao avatar blankyao commented on May 23, 2024

I hava the same problem.

from jekyll-bootstrap.

ctriantaf avatar ctriantaf commented on May 23, 2024

can someone make i way (script or something) to update?

from jekyll-bootstrap.

marshallshen avatar marshallshen commented on May 23, 2024

@clepto @blankyao , I am closing out this long-standing issue.
But please let me know if you have any more questions!

Thanks

from jekyll-bootstrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.