Cloning the Repository

The repository can be cloned from git://github.com/swiftmailer/swiftmailer.git using the git clone command.

You will need to have git installed before you can use the git clone command.

To clone the repository:

  1. Open your favorite terminal environment (command line).
  2. Move to the directory you want to clone to.
  3. Run the command git clone git://github.com/swiftmailer/swiftmailer.git swiftmailer.

The source code will be downloaded into a directory called "swiftmailer".

The example shows the process on a UNIX-like system such as Linux, BSD or Mac OS X.

chrisbook:~ chris$ cd source_code/
chrisbook:source_code chris$ git clone git://github.com/swiftmailer/swiftmailer.git swiftmailer
Initialized empty Git repository in /Users/chris/source_code/swiftmailer/.git/
remote: Counting objects: 6815, done.
remote: Compressing objects: 100% (2761/2761), done.
remote: Total 6815 (delta 3641), reused 6326 (delta 3286)
Receiving objects: 100% (6815/6815), 4.35 MiB | 162 KiB/s, done.
Resolving deltas: 100% (3641/3641), done.
Checking out files: 100% (1847/1847), done.
chrisbook:source_code chris$ cd swiftmailer/
chrisbook:swiftmailer chris$ ls
CHANGES		LICENSE.LGPL	README.git	VERSION		docs		lib		test-suite	util
LICENSE.GPL	README		TODO		build.xml	examples	notes		tests
chrisbook:swiftmailer chris$

NOTE: Documentation for version 3 is in the wiki.