Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Git for developers.

Development talk:Git for developers

From MoodleDocs
Revision as of 10:22, 4 April 2011 by Tim Hunt (talk | contribs) (→‎Installing Git on your computer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Installing Git on your computer

Is this really the place for childish comments about the Windows OS? Some people don't have the luxury of choice when it comes to choosing their operating systems in their work environments... --Luis de Vasconcelos 06:02, 4 April 2011 (UTC)

Luis, apologies for the comment which has now been removed. Unfortunately I don't know how to install Git on a Windows computer - it would be great if you could help. --Helen Foster 07:48, 4 April 2011 (UTC)
;-> I'm still not very familiar with Git so I haven'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: An Illustrated Guide to Git on Windows and Set Up Git (Windows). But we probably want something less "generic" and more Moodle specific. I'll make some notes once I've figured it all out... --Luis de Vasconcelos 08:29, 4 April 2011 (UTC)
I know of several ways to install git on windows:
  1. 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.)
  2. msysgit http://code.google.com/p/msysgit/ This is the simplest distribution of git for Windows.
  3. TortoiseGit http://code.google.com/p/tortoisegit/ Integrates git nicely with Windows explorer.
  4. Eclipse'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.
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.
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.--Tim Hunt 10:22, 4 April 2011 (UTC)