Showing posts with label Version Control with Git. Show all posts
Showing posts with label Version Control with Git. Show all posts

Wednesday, 11 February 2015

How to Install Git on Windows 8 Part 2


In my last post, I explained how to install Git on Windows. Now that your installation is completed, you need to configure your Git environment with your identity. This will allow you to maintain projects with your credentials even as you make upgrades to Git.

Git comes with a tool called git config which allows you to set global variables for how Git looks on your machine.

On your computer, open the Git Shell. You do this by right clicking on your desktop and choosing Git Bash. You should see an image like the one above.

In the shell, type in the following command:

git config --global user.name "Your username"
 My username is Truston Ailende so I will place that in.


Next your type the following command to set your email:
git config --global user.email "youremail@gmail.com"

I hate spam so I will not give you my email. If you desire to contact me, my details are in the About section of this blog.

Next your want to check your settings to make sure you got everything alright. To do this, run the command below:

git config --list

This will give you the image shown below:


Apart from my email which I blacked out, you can see my Git Configurations. Now you are ready to work.

Tuesday, 10 February 2015

How to Install Git on Windows 8 Part 1


Git is a version control system that allows you to manage your projects. I plan to start a series on SVG with RaphaelJS and I intend to use Git for version control.

In order to install Git, please follow the following steps:

  1. Click the Downloads for Windows button on the page. It will redirect you to the page shown in the picture.
  2. Once your download is completed, double click on it and allow your user control to let the installation start.
  3. You will see a welcome screen. Click the Next button.
  4. You will see a license agreement. Click the Next button.
  5. Leave the default location.
  6. In this screen we are given a choice of the components to install. Additional icons will place shortcuts to Git on your desktop as well as your quick launch bar. In the Windows Explorer Integration, you need to click both Git Bash and Git GUI as they will allow you use the Git command line and a GUI. This choice eliminates Git Cheetah a Windows client interface you could use with Git.

  7. So my selection is like this. I choose this because I want to use the Git command line as a lot of programs typically use it. Click the Next button.
  8. Leave the default startuup menu folder as Git. If you are on a 64 bit computer, leave the Don't create a Start Menu folder unchecked.
  9. Next you get a screen asking you to adjust your class path.
  10. I choose the last option. What it allows you to do is run Git from your command line. Then I click the Next button.
  11. It then takes us to the screen where we must configure the file ending. I choose the default then I click on the Next button.
  12. Now the process of installation begins.
  13. Congratulations, your installation is completed. Click the Finish button.
In my next post, I will go into how to set up Git for a first time user.