LilyPond Contributor's Guide: 3.1 Manually installing lily-git.tcl

## 3.1 Manually installing lily-git.tcl

We have created an easy-to-use GUI to simplify git for new contributors. If you are comfortable with the command-line, then skip ahead to Starting with Git.

Note: These instructions are only for people who are not using Lilydev.

1. If you haven’t already, download and install Git.
   - Windows users: download the `.exe` file labeled “Full installer for official Git” from:

     >     http://code.google.com/p/msysgit/downloads/list

   - Other operating systems: either install `git` with your package manager, or download it from the “Binaries” section of:

     >     http://git-scm.com/download

2. Download the `lily-git.tcl` script from:

   >     http://git.sv.gnu.org/cgit/lilypond.git/plain/scripts/auxiliar/lily-git.tcl

3. To run the program from the command line, navigate to the directory containing `lily-git.tcl` and enter:

   >     wish lily-git.tcl

4. Click on the “Get source” button.

   This will create a directory called ‘`lilypond-git/`’ within your home directory, and will download the source code into that directory (around 55Mb). When the process is finished, the “Command output” window will display “Done”, and the button label will change to say “Update source”.

5. Navigate to the ‘`lilypond-git/`’ directory to view the source files.

Note: Throughout the rest of this manual, most command-line input should be entered from ‘`~/lilypond-git/`’. This is referred to as the top source directory.

Further instructions are in Daily use of `lily-git.tcl`.

Advanced note: the “Get source” button does not fetch the entire history of the git repository, so utilities like `gitk` will only be able to display the most recent additions. As you continue to work with `lily-git.tcl`, the “Update source” button will take any new additions and add it to whatever is currently in your repository’s history.

#### LilyPond — Contributor’s Guide