This repository has moved to the use cases folder of https://github.com/github/teach.github.com
require "json" | |
require "typhoeus" | |
require "pp" | |
# MigrateRepo usage instructions: | |
# | |
# The way this is used at Airbnb for migrating from GitHub to GHE is by | |
# creating a separate organization with no members called "migration", | |
# adding that as the target organization, and then once the migration | |
# has finished, moving it over to the intended location. |
#!/usr/bin/env ruby | |
require 'octokit' | |
pass_re = /^password: "(.*)"$/ | |
token = '***** GET A TOKEN *****' | |
c = Octokit::Client.new(:access_token => token) | |
user_login = c.user.login |
// a git pre-receive hook | |
// that automatically merges all pushes to feature branches | |
// into a dedicated continuous-integration (ci) branch. | |
// Since we cannot merge in a bare repo, we work on a temporary clone. | |
// Dierk Koenig | |
def ciBranch = 'master' | |
def mergeName = 'merge' | |
def hereDirPath = new File('.').canonicalPath |
- "The Fifth Discipline", by Peter Senge (http://amzn.to/H7R4fp)
- "Lean Thinking", by James Womack (http://amzn.to/H7R9zK)
- "The Logic of Failure", by Dietrich Dorner (http://amzn.to/HyheLM)
- "Drift Into Failure", by Sidney Dekker (http://amzn.to/HpB8Fe)
- "Documenting Software Architecture", by Paul Clements (http://amzn.to/H7RtOP)
# Auto detect text files and perform LF normalization | |
* text=auto | |
# Custom for Visual Studio | |
*.cs diff=csharp |
I want to make a video to show my class of would-be IT people. If you write code, would you send me a video clip (webcam, less than 30s) with the following?
- Introduce yourself (name, where you work)
- Why you love what you do
- Why you love open-source software (optional, but would be super helpful)
Email the clip (or a link I can download the clip) to bphogan at gmail
and be sure to include your Twitter username so I can add that on your clip.
Many companies ask why they should switch to Git and GitHub. The answer primarily lies in doing less repetitive work, and making your source code control efforts disppear into the background instead of be in the forefront of your workflow. Your focus should be on your creative work and just incidentally have it versioned. As soon as your project is no longer a solo effort, you desire to have it support collaboration. In the space of version control, our users claim that no set of tools does that as well as Git and GitHub.
These goals are explained in a highly creative way by GitHub's CEO in The Git Parable.
Additionally, a growing constituency of open source is hosted at GitHub. In June of 2011, GitHub had [more commits than Sourceforge, Google Code, and CodePlex combined](http://www.readwriteweb.com/hack/2011/06/github-has-