Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cloverstd opened this issue Apr 13, 2012 · 4 comments
Closed

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

cloverstd opened this issue Apr 13, 2012 · 4 comments

Comments

@cloverstd
Copy link

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
Copy link

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
Copy link
Author

Yeah. Thanks.

@lowstz
Copy link

lowstz commented Apr 13, 2012

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
Copy link
Author

Thanks. I will try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants