Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

How can I clone my octopress to another computer? #526

Closed
cloverstd opened this Issue · 4 comments

3 participants

@cloverstd

I have seted up octopress on github according to the official document.

Now, I want to clone my octopress to another computer.

I find it can be copy to another computer, and it can push and post article.

example: A is my first computer to set up octopress. B is another computer.

When I modified something like _config.yml, and push it.
But on B, there is not modified.

How can I do to sync A and B?

I think Dropbox can do it.

But I want to know how to clone my octopress from github to another, Not copy the file.

I am new to git and octopress.
I found this page, but I still don't know how to clone.

@mrcasals

I think you should start by getting used to git... After that you'll understand how to do what you ask :)

http://progit.org/ (has online free version)
http://gitimmersion.com/

More tutorials here: http://sixrevisions.com/resources/git-tutorials-beginners/

@cloverstd

Yeah. Thanks.

@cloverstd cloverstd closed this
@lowstz

example: A is my first computer to set up octopress. B is another computer.
When I modified something like _config.yml, and push it.
But on B, there is not modified.

set up the rvm environment on another computer follow this Gist.
Then,
git clone git@github.com:cloverstd/cloverstd.github.com.git octopress
cd octopress
bundle install

How can I do to sync A and B?

use git push and git pull to sync the modified.

example:
On computer A,you use git push to commit the changes:

git push -u origin master

Then, on computer B, you use 'git push' to fetch down new data from github repo:

git pull -u origin master

The same way to sync new date from B to A :)

@cloverstd

Thanks. I will try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.