Topic on Talk:Download from Git

Trying to update Mediawiki using Git. Have I misunderstood Git?

2
Craig Mackay (talkcontribs)

Hi,

I'm looking for a little help please. My mediawiki installation is located in the following directory: "public_html/w" I have Git installed on my server and I have managed to clone the git repository to "public_html/w/core" using "git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git". I was then able to switch to the current stable version, 1.22 using "git checkout -b REL1_22 origin/REL1_22".

I was under the impression that I would then be able to use the repository to update my Mediawiki installation (currently 1.21.2) but I can't seem to figure that out. Do I have to manually copy the files from the repository and then run update.php? Have I misunderstood what Git can be used for? How can I do this? I also tried cloning the repository into "public_html/w" by using "git clone https://gerrit.wikimedia.org/r/p/mediawiki/w.git" but it results in an error because the folder isn't empty.

I would really appreciate any help you can give as I think it will be so much easier for me being able to switch between versions using Git.

Regards Craig

2.121.17.2 (talkcontribs)

Nevermind, I figured it out. I was having issues with file ownership and permissions on my server. Everything is functioning as it should now.

Reply to "Trying to update Mediawiki using Git. Have I misunderstood Git?"