ClassicPress Development with TortoiseGit: Install Git for Windows

TortoiseGitWhen I started developing plugins for ClassicPress I decided that I needed to be using source control. As ClassicPress is intending to use GitHub for their plugin directory, it made sense for me to use it as well. This post is part of a series on ClassicPress Development with TortoiseGit which is a sub-series of the ClassicPress Development with GitHub series.

A key prerequisite for installing TortoiseGit is an already installed (command line) Git client which provides a git.exe. The recommended one if Git for Windows which is, the only one, used by the developers of TortoiseGit. The application can be downloaded from Git for Windows:

Download Git for Windows

Launch the downloaded setup utility. Click Next on the Information step:

Git Setup: Information

Change the default installation location if required and click Next:

Git Setup: Select Destination Location

There is no problem leaving the default components selected, as I have in the example below, although thereis no need to have Windows Explorer integration marked. Click Next to continue:

Git Setup: Select Components

Decide if you want a start meny folder created and click Next:

Git Setup: Select Start Menu Folder

Choose the default editor which should be used by Git and click ,em>Next:

Git Setup: Choosing the default editor used by Git

For using Git from the command line, I have the second option, Git from the command line and also 3rd-party software marked as I intend to use ToirtoiseGit. Click Next to continue:

Git Setup:

Select the required SSL/TLS library which should be used for HTTPS connections and click Next:

Git Setup: Choosing HTTPS transport backend

Confirm the line ending conventions and click Next:

Git Setup: Configuring the line ending conversions

Confirm the terminal emulator and click Next:

Git Setup: Configuring the terminal emulator to use with Git Bash

Confirm the extra options and click Install to start the installation og Git for Windows:

Git Setup: Configuring extra options

Once the installation is complete, click Finish:

Git Setup: Completing the Git Setup Wizard

With Git for Windows installed, in the next post I’ll take a look at installing TortoiseGit.

ClassicPress Development with TortoiseGit
What is TortoiseGit?
Install Git for Windows
Install TortoiseGit for Windows
First run
Update
Clone Repository
Commit
Revert Last Commit

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *