Where to enter git commands?

command-line, git

Solution

I assuming you've probably installed the windows git from http://git-scm.com/download/win

With the very defaults that won't put git on your command prompt.

Use 'git bash' either through the start menu or right clicking in the folder.

Problem

I'm pretty sure this will be a basic question for a lot of people, but here goes: I started going through the book "Pro Git", and it says to start by setting my username and email using the following lines: `$ git config --global user.name "John Doe"` `$ git config --global user.email johndoe@example.com` Where do I type these lines? I tried typing them into command prompt and the git GUI, but I've had no success. I'm using Windows 7.

Original source