Browse files

new post: migrating to a github organization

  • Loading branch information...
1 parent dd70059 commit 2a3ddfc71dedeba4037c95fa6ac93947243da08c @abyx committed Mar 31, 2012
Showing with 33 additions and 0 deletions.
  1. +33 −0 source/_posts/2012-03-31-migrating-to-a-github-organization.markdown
@@ -0,0 +1,33 @@
+layout: post
+title: "Migrating to a GitHub Organization"
+date: 2012-03-31 17:19
+comments: true
+- Programming
+- github
+- git
+- billguard
+Recently we finally made the move to a GitHub organization. For the past 18 months or so we've been using private repositories on our CTO's personal GitHub account. Having reached the maximum number of allowed collaborators on a personal account, we decided to make the move.
+Basically, it wasn't that big of a deal at all, but since I couldn't find any writeup describing it I thought I'd throw it here.
+When you want to create a new organization, you can either choose to transform your own account into an organization or just create a new one. We opted for creating a new organization for BillGuard in order to avoid causing Raphael an identity crisis.
+The steps were amazingly easy:
+ 1. Create a new organization.
+ 2. Add to its owners whoever needs to be an owner (up till now you had no owner except for the actual account holder).
+ 3. Create a team for everyone that needs access to the repositories. We started simple with a team for developers that allows pushing and pulling.
+ 4. For each repository that needs to be migrated go to its Admin section, choose "Transfer Ownership" and move it to the new organization.
+ 5. Now everywhere you have a migrated repository cloned needs to run this simple command: `git remote set-url origin`
+That's it! GitHub magically moves the different web hooks, server deploy keys etc. that were configured on the repositories so they keep working.
+Some things to note: In case your repositories have been forked, you need to contact GitHub support to change roots as described [here]( Also, you might need to change repository URL someplace else like your CI servers.
+Happy git hacking!
+You should [subscribe]( to my feed or [follow]( me on twitter!

0 comments on commit 2a3ddfc

Please sign in to comment.