<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Phish108</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Phish108"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/Special:Contributions/Phish108"/>
	<updated>2026-08-20T09:36:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Talk:Git_for_developers&amp;diff=48456</id>
		<title>Talk:Git for developers</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Talk:Git_for_developers&amp;diff=48456"/>
		<updated>2015-08-19T03:55:38Z</updated>

		<summary type="html">&lt;p&gt;Phish108: /* upstream remote is already configured if moodle is cloned on github  */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing Git on your computer ==&lt;br /&gt;
Is this really the place for childish comments about the Windows OS? Some people don&#039;t have the luxury of choice when it comes to choosing their operating systems in their work environments... --[[User:Luis de Vasconcelos|Luis de Vasconcelos]] 06:02, 4 April 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
:Luis, apologies for the comment which has now been removed. Unfortunately I don&#039;t know how to install Git on a Windows computer - it would be great if you could help. --[[User:Helen Foster|Helen Foster]] 07:48, 4 April 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
:: ;-&amp;gt;   I&#039;m still not very familiar with Git so I haven&#039;t added anything to the docs. However, there do seem to be quite a few guides on the internet that explain Git on Windows, example: [http://nathanj.github.com/gitguide/tour.html An Illustrated Guide to Git on Windows] and [http://help.github.com/win-set-up-git/ Set Up Git (Windows)]. But we probably want something less &amp;quot;generic&amp;quot; and more Moodle specific. I&#039;ll make some notes once I&#039;ve figured it all out... --[[User:Luis de Vasconcelos|Luis de Vasconcelos]] 08:29, 4 April 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I know of several ways to install git on windows:&lt;br /&gt;
:# Cygwin http://www.cygwin.com/. That is overkill unless you also want a complete suite of Linux tools on the windows command line (which quite possibly you do. This is my preferred choice.)&lt;br /&gt;
:# msysgit http://code.google.com/p/msysgit/ This is the simplest distribution of git for Windows.&lt;br /&gt;
:# TortoiseGit http://code.google.com/p/tortoisegit/ Integrates git nicely with Windows explorer.&lt;br /&gt;
:# Eclipse&#039;s build-in support for git is still not finished, but lets you do some things: http://www.eclipse.org/egit/. This is only helpful if you use Eclipse, and you will still need to use the command-line for some things.&lt;br /&gt;
: Finally, I will add that being forced to use the command-line on Windows is like some sort of torture. Console http://sourceforge.net/projects/console/ give you a much nicer front-end. For example, it lets you copy and paste simply.&lt;br /&gt;
: I am afraid these are only rough notes, which is why I am just dumping them here on the talk page. Someone should clean them up and put them on the main page.--[[User:Tim Hunt|Tim Hunt]] 10:22, 4 April 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Public repository optional, right? ==&lt;br /&gt;
&lt;br /&gt;
A silly question: the page says &amp;quot;Installing *the* public repository&amp;quot; instead of *a*. To me that sounds like you have to have it, but isn&#039;t a solo dev just fine with a local repo also? -[[User:Samuli Karevaara|Samuli Karevaara]] 15:18, 25 June 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
== upstream remote is already configured if moodle is cloned on github  ==&lt;br /&gt;
&lt;br /&gt;
For github users the upstream pipeline is already configured, so adding a remote is not necessary. This should be also the case for other clones. &lt;br /&gt;
&lt;br /&gt;
If &amp;quot;upstream&amp;quot; is important to you, you can change the remote to: &lt;br /&gt;
&lt;br /&gt;
   git remote rename moodle upstream &lt;br /&gt;
&lt;br /&gt;
Otherwise fetch script can be updated using &amp;quot;moodle&amp;quot; instead of &amp;quot;upstream&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
   #!/bin/sh&lt;br /&gt;
   git fetch moodle&lt;br /&gt;
   for BRANCH in MOODLE_{19..27}_STABLE master; do&lt;br /&gt;
       git push origin refs/remotes/moodle/$BRANCH:$BRANCH&lt;br /&gt;
   done&lt;/div&gt;</summary>
		<author><name>Phish108</name></author>
	</entry>
</feed>