Ask Your Question

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

asked 2013-12-03 00:48:43 -0500

Nikhil gravatar image

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:// my_site;
  2. cd my_site;
  3. python develop;
  4. askbot-setup;
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-03 08:44:07 -0500

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.

edit flag offensive delete link more



Thanks! this saved me

Djangolearner gravatar image 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 gravatar image 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 gravatar image Fitoria  ( 2014-01-02 11:21:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-12-03 00:48:43 -0500

Seen: 501 times

Last updated: Dec 03 '13