git

Status: Git on windows

Since I'm originally a windows user and still using it sometimes, I'm keeping an eye on the status of git on windows.

Seems like there's more to do, but some things are happening: MSysGit Seems to be the currently best solution, while GitSharp looks promising. For MSysGit there's a guide on getting started with Git and GitHub on Windows.

Tags:

Must-have git how tos

Realized I would need to go through a git tutorial containing the basics.

I liked this one. Very concise, and has sections for the typical roles you might have as a git user. I liked this one too. A good complement to the other.

How to check out a specific branch from github

I ran into troubles trying to check out a specific branch from github.

I asked about it at #git on FreeNode IRC channel. I'll summarize how to do it:

First run:
git clone git://github.com/...[path to your project]...git

Then go:
git branch -a
...to see what branches you have.

Tags:

Had to learn some basic vim

I just realized that git is using vim as text editor (hope it is possible to change to nano or equivalent). Anyway, as for now I guess I better just learn som basic vim commands.

http://heather.cs.ucdavis.edu/~matloff/UnixAndC/Editors/ViIntro.html saved me.

The most important commands to remember are:

i - enter "insert mode"
a - enter "append mode"
ESC - leave "insert" or "append mode"
x - delete one character
dd - delete one line (and store it in clipboard)
ZZ - Save and close
ZQ - Close w/o saving

Tags:

Looking into git

I found a git tutorial at http://git.or.cz/course/svn.html Looks useful for svn users, since it has the paired the corresponding git / svn commands. Another one is https://we.riseup.net/debian/git-development-howto as well.

Tags: