Installation

Upgrading 2.7 using Github

Upgrading 2.7 using Github

by Jim Fischer -
Number of replies: 1
I found the following instructions in the Wiki for upgrading 2.7 on Ubuntu 12.04

cd/opt/webwork/webwork2
git branch
* master
release/2.7
git pull

Then it states to do git checkout release/2.7 first if we are tracking release/2.7. I assume this means that if I want to upgrade 2.7 that we are currently using, I should enter:

git checkout release/2.7
git branch
* master
release/2.7
git pull

The indented items are what the server responds.

I get the following error: "Your configuration specifies to merge with the ref 'release/2.7' from the remote, but no such ref was fetched. "

What should I be doing to get an update for 2.7?



In reply to Jim Fischer

Re: Upgrading 2.7 using Github

by Davide Cervone -
You may need to do
   git fetch
before checking out the version you want. That will get the new information about the current state of the repository (without this, you are still using the state of affairs when you first checked out WeBWorK, which is probably not up to date).

See if that helps.