Difference between revisions of "Using Git"

From CometWiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
To get started using the git version control system, [http://git-scm.com/ the main git website] is a good place to start, and Github also has a [http://github.com/guides/home nice collection of guides].  I found [http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html this cheat sheet] to be a good one-page summary of useful git commands.
+
[http://git-scm.com/documentation The main git website] is a good place to start learning how to use git, and Github also has a [http://github.com/guides/home nice collection of guides].  I also found [http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html this cheat sheet] to be a particularly good one-page summary of useful git commands.
  
 
To have changes you've made merged into the main repository, prepare them as a patch (<code>git format-patch</code>) then submit them by email to markdayel@gmail.com
 
To have changes you've made merged into the main repository, prepare them as a patch (<code>git format-patch</code>) then submit them by email to markdayel@gmail.com

Latest revision as of 14:37, 17 April 2009

The main git website is a good place to start learning how to use git, and Github also has a nice collection of guides. I also found this cheat sheet to be a particularly good one-page summary of useful git commands.

To have changes you've made merged into the main repository, prepare them as a patch (git format-patch) then submit them by email to markdayel@gmail.com

Tips

If using windows, be careful with line endings. Windows tends to change LF into CRLF. They can be changed back using the dos2unix command in cygwin. Also, make sure the permissions are not messed up (they should be 664)