Difference between revisions of "Git Getting Started"
From Dreamwidth Notes
(blip.tv is dead and I am tired of getting SEO spam mails about it) |
|||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | Dreamwidth | + | Dreamwidth uses Git for source code control, with the code being hosted on GitHub. |
+ | == 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] | ||
* [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 7: | 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 | + | * [[Dev_Getting_Started#Finding_something_to_work_on|sample workflow]] |
+ | * [[Git How To]] | ||
− | |||
[[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
- 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.
- Introduction to Git - video
- Introduction to Git - slides
- Pro Git by Scott Chacon, available free of charge in many formats
- OpenHatch's Intro to Git training mission
- Git for the nervous developer
- Why Git is better
- Github help documentation
- Graphical web-based in-browser introduction to git branching
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 -- shadowspar 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
- sample workflow
- Git How To