Using multisyllabic words and complex trains of thought so that people who don't know any better will think, and by thinking, know better.
Wednesday, February 8, 2012
Install Git under Windows
Install Git
Windows installer here.
Under Windows, use the Bash Shell or GUI app.
You can also fetch TortoiseGIT to work with the Windows gui environment.
Menu -> Git -> Git Bash
You will see:
Welcome to Git (version 1.7.8-preview20111206)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
$
Set up a proper workspace
Please translate the username (whome) and pathnames as appropriate.
$ pwd
/c/Documents and Settings/whome
$ mkdir workspace
$ cd workspace
$ git config --global user.name "Who Me"
$ git config --global user.email "whome@some.domain.com"
$ git clone some.repo.url/reponame.git
Cloning into 'reponame'...
done.
At this point, you'll have a working local git repo that can be pulled from the remote repo, and pushed (assuming the repo url allows write access).
More cheat sheets for git can be found here:
http://help.github.com/git-cheat-sheets/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment