First time here? Check out the FAQ!
0

How do I update Askbot if I have changed the Git origin?

I have cloned Askbot from Github, set it up in development mode. I have removed the origin and added my local repo as its origin and committed it to my repository so that my teammates can checkout.

If I need to update/upgrade Askbot, how do I do it?

This is what I have done:

In my virtual env,

  1. git clone git://github.com/ASKBOT/askbot-devel.git my_site;
  2. cd my_site;
  3. python setup.py develop;
  4. askbot-setup;
Nikhil's avatar
79
Nikhil
asked 2013-12-03 00:48:43 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

you'll have to add another origin pointing to the askbot repo on github you can do this by

git remote add askbotgithub <github url here>

and then to get the latests commits do:

git pull askbotgithub master

this will pull the latest changes from the askbot on github origin to your local repo.

Note: you can name the origin with other names, just used askbotgithub as example.

Fitoria's avatar
1.1k
Fitoria
answered 2013-12-03 08:44:07 -0500
edit flag offensive 0 remove flag delete link

Comments

1

Thanks! this saved me

Djangolearner's avatar Djangolearner (2013-12-05 11:10:04 -0500) edit

Hi Fitoria, I just followed the steps mentioned above and was able to upgrade to the latest. But when I did git status, it showed only the changes I had done. I want to upload the newer version of askbot to my local repo. How do I do this? Thanks

Nikhil's avatar Nikhil (2013-12-12 07:45:28 -0500) edit

@Nikhil in your case do a commit and then push it to your origin that you will have write access to.

Fitoria's avatar Fitoria (2014-01-02 11:21:00 -0500) edit
add a comment see more comments