Tuesday, May 24, 2011

Git: installation, setup and manual

Main site and downloads:
http://git-scm.com
http://git-scm.com/downloads

Best GUI article:
http://kylecordes.com/2010/git-gui-client-windows

Mac GitX download:
http://gitx.frim.nl/index.html

Git for beginners:
http://stackoverflow.com/questions/315911/git-for-beginners-the-definitive-practical-guide

How-to-setup:

List of builds: http://code.google.com/p/msysgit/downloads/list

Win:
http://help.github.com/win-set-up-git
http://nathanj.github.com/gitguide/tour.html

Mac:
http://help.github.com/mac-set-up-git
http://mac.github.com


Clients Win:

Clients Mac:
Gitx client for Mac:

Homepage: http://gitx.frim.nl
Gitx on Github: http://github.com/pieter/gitx/tree/master
Git clone command: git clone git://github.com/pieter/gitx.git


Tips:
http://gitready.com

Branches:
http://genomewiki.ucsc.edu/index.php/Working_with_branches_in_Git

HOW TO:


Setup default editor

git config --global core.editor "mate -w"

Copy rsa key into Mac clipboard:
$ pbcopy < ~/.ssh/id_rsa.pub


Reference:

http://gitref.org
http://git-scm.com/docs

Book:
http://progit.org/book

Video tutorial:
http://excess.org/article/2008/07/ogre-git-tutorial
http://gitcasts.com

Tutorial:
http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
http://savannah.gnu.org/maintenance/UsingGit
Crash-course: http://git.or.cz/course/svn.html

Debates:

SVN vs. GIT
GIT and Mercurial
Another one (russian)

Guides:
An Illustrated Guide to Git on Windows
http://habrahabr.ru/qa/2950
http://rezwyi.blogspot.com/2010/06/git-subversion.html
http://admdev.blogspot.com/2009/02/git.html

Distributed version control:
http://bazaar.canonical.com/en

Setting user home directory:
Open <InstallDir>/Git/etc/profile

# Set up USER's home directory
if [ -z "$HOME" -o ! -d "$HOME" ]; then
  HOME="$HOMEDRIVE$HOMEPATH"
  if [ -z "$HOME" -o ! -d "$HOME" ]; then
    HOME="$USERPROFILE"
  fi
fi

GIT installation folder on Mac

Mostly in /usr/local/git (there are also /etc/paths.d/git and /etc/manpaths.d/gititems).

GITX

GitX is not a complete command-line replacement. It doesn't create repositories or push/pull/fetch remotes, among other things. Use git to do those bits, and GitX for what it does best: browsing history and committing, among other things.
Also of note: Use the GitX -> Enable Terminal Usage menu so you can type gitx from the command line within a git repository.

0 коммент.:

Post a Comment

Powered by Blogger.