Ask Your Question
0

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

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

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

1 Answer

Sort by ยป oldest newest most voted
2

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

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

Comments

1

Thanks! this saved me

Djangolearner gravatar imageDjangolearner ( 2013-12-05 11:10:04 -0600 )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 imageNikhil ( 2013-12-12 07:45:28 -0600 )edit

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

Fitoria gravatar imageFitoria ( 2014-01-02 11:21:00 -0600 )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

Stats

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

Seen: 447 times

Last updated: Dec 03 '13