From 4dcf54510828acaa773836324c9d33048fccd8e6 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 2 Apr 2015 20:51:35 -0700 Subject: [PATCH] Gitorious Apocalypse: recovery existing clone These instructions are simple and I've tested them. --- CONTRIBUTING.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f2f9bf..a0e6e22 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -279,3 +279,33 @@ request. [the mailing list](http://lists.copyleft.org/cgi-bin/mailman/listinfo/discuss) about the merge request. Include the URL of the merge request in the post. + +## Gitorious Apocalypse Recovery + +If you used to contribute via Gitorious, *don't panic*! We were careful to +transition the project to Kallithea without requiring recloning the +repository. If you initially did a clone of the main repository (i.e., not +your own clone) all you need to do one of these operations + +For Git 1.8.0 or later: + + $ git remote set-url origin https://k.copyleft.org/guide + $ git --set-upstream master origin/master + $ git --set-upstream-to next origin/next + +For any older version of Git: + + $ git remote set-url origin https://k.copyleft.org/guide + $ git config branch.master.remote https://k.copyleft.org/guide + $ git config branch.next.remote https://k.copyleft.org/guide + +(If you renamed the gitorious remote to a different name, replace "origin" +with the name you used. If you previously followed the workflow instructions +above, yours is probably called "guide-official", or "tutorial-official", +rather than "origin"). + +It's really that simple! + +If you had a clone on gitorious, you have a bit more work to do, but feel +free to create a clone on k.copyleft.org and push any branches you care about +there!