Difference between revisions of "Git Getting Started"

From Dreamwidth Notes
Jump to: navigation, search
(+new version of schwern's talk)
(blip.tv is dead and I am tired of getting SEO spam mails about it)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Dreamwidth uses Git for source code control, with the code being hosted on GitHub.  
 
Dreamwidth uses Git for source code control, with the code being hosted on GitHub.  
  
* ''Git for Ages 4 and Up'': aka "The Tinker Toy Demonstration".  Probably one of the best ways to understand how Git works "under the hood" -- much of how Git operates makes much more sense once you know a little about what's happening behind the scenes.  
+
== Learning Git: Resources ==
 +
* ''Git for Ages 4 and Up'': aka "The Tinker Toy Demonstration".  Probably one of the best ways to learn how Git works "under the hood". Many of the things Git does make much more sense once you know a little about what's happening behind the scenes.  
 
** LCA 2013: [https://lca2013.linux.org.au/wiki/Tutorials/Git_For_Ages_4_And_Up Talk page with resources] [http://www.youtube.com/watch?v=1ffBJ4sVUb4 youtube video] [http://mirror.internode.on.net/pub/linux.conf.au/2013/mp4/Git_For_Ages_4_And_Up.mp4 mp4 video download]
 
** LCA 2013: [https://lca2013.linux.org.au/wiki/Tutorials/Git_For_Ages_4_And_Up Talk page with resources] [http://www.youtube.com/watch?v=1ffBJ4sVUb4 youtube video] [http://mirror.internode.on.net/pub/linux.conf.au/2013/mp4/Git_For_Ages_4_And_Up.mp4 mp4 video download]
** OSDC.au 2010: [http://2010.osdc.com.au/proposal/196/git-ages-4-and talk page] [ [http://blip.tv/open-source-developers-conference/git-for-ages-4-and-up-4460524 blip.tv video]
 
 
* [http://vimeo.com/35778382 Introduction to Git - video]
 
* [http://vimeo.com/35778382 Introduction to Git - video]
 
* [http://www.slideshare.net/RandalSchwartz/introduction-to-git-11451326 Introduction to Git - slides]
 
* [http://www.slideshare.net/RandalSchwartz/introduction-to-git-11451326 Introduction to Git - slides]
Line 10: Line 10:
 
* [http://beust.com/weblog/2010/04/06/git-for-the-nervous-developer/ Git for the nervous developer]
 
* [http://beust.com/weblog/2010/04/06/git-for-the-nervous-developer/ Git for the nervous developer]
 
* [http://thkoch2001.github.com/whygitisbetter/ Why Git is better]
 
* [http://thkoch2001.github.com/whygitisbetter/ Why Git is better]
 
 
* [https://help.github.com/ Github help documentation]
 
* [https://help.github.com/ Github help documentation]
 +
* [http://pcottle.github.io/learnGitBranching/ Graphical web-based in-browser introduction to git branching]
  
 +
If you'd like some ''serious'' extra-credit reading, have a look at [http://git.wiki.kernel.org/index.php/GitDocumentation the Git documentation!]
 +
 +
== Installing Git ==
 +
 +
First of all, if you have a [[Dreamhacks|Dreamhack]], you skip this step -- Git is already installed for you. =)
 +
 +
If you want to develop on your own computer, there are a number of different ways to get hold of Git.
 +
 +
; Linux/BSD/Other Unixen
 +
: The preferred way to install Git is through your distribution's package manager.  For Debian, Ubuntu, and other Debian-based dists: <code>apt-get install git</code>.
 +
; Mac OS X
 +
: You can install Git with one of the OS X add-on package managers, like [http://mxcl.github.io/homebrew/ homebrew]. 
 +
: You can grab an installer package from [http://git-scm.com/downloads the main Git site].
 +
: Github [https://help.github.com/articles/set-up-git has a customized client of their own], which includes Git.
 +
; Windows
 +
: You can grab an installer package from [http://git-scm.com/downloads the main Git site].
 +
: Github [https://help.github.com/articles/set-up-git has a customized client of their own], which includes Git.
 +
; Building Git from Source
 +
: Finally, if you have a system where none of the above options will work for you -- for instance, a Mac running OS X Tiger (10.4.11) or earlier -- you can download the Git source code and build it yourself!  Compiling Git is actually fairly straightforward, at least compared to some open source packages.  Feel free to ask for help in the <tt>#dreamwidth-dev</tt> [[IRC]] channel if you need to go down this road -- <dwuser>shadowspar</dwuser> has been there before.
 +
 +
 +
== Using Git for Dreamwidth Development ==
 
* [[Moving your Dreamwidth installation to use Github]] -- If you're ready to start transitioning your dev environment
 
* [[Moving your Dreamwidth installation to use Github]] -- If you're ready to start transitioning your dev environment
* [[Git commit messages]]
+
* [[Dev_Getting_Started#Finding_something_to_work_on|sample workflow]]
 +
* [[Git How To]]
  
If you'd like some ''serious'' extra-credit reading, have a look at [http://git.wiki.kernel.org/index.php/GitDocumentation the Git documentation!]
 
  
 
[[Category: Getting Started]]
 
[[Category: Getting Started]]
 
[[Category: Development]]
 
[[Category: Development]]
 
[[Category: Git]]
 
[[Category: Git]]

Latest revision as of 19:17, 8 September 2023

Dreamwidth uses Git for source code control, with the code being hosted on GitHub.

Learning Git: Resources

If you'd like some serious extra-credit reading, have a look at the Git documentation!

Installing Git

First of all, if you have a Dreamhack, you skip this step -- Git is already installed for you. =)

If you want to develop on your own computer, there are a number of different ways to get hold of Git.

Linux/BSD/Other Unixen
The preferred way to install Git is through your distribution's package manager. For Debian, Ubuntu, and other Debian-based dists: apt-get install git.
Mac OS X
You can install Git with one of the OS X add-on package managers, like homebrew.
You can grab an installer package from the main Git site.
Github has a customized client of their own, which includes Git.
Windows
You can grab an installer package from the main Git site.
Github has a customized client of their own, which includes Git.
Building Git from Source
Finally, if you have a system where none of the above options will work for you -- for instance, a Mac running OS X Tiger (10.4.11) or earlier -- you can download the Git source code and build it yourself! Compiling Git is actually fairly straightforward, at least compared to some open source packages. Feel free to ask for help in the #dreamwidth-dev IRC channel if you need to go down this road -- [info]shadowspar has been there before.


Using Git for Dreamwidth Development