kernel.org クラックした奴は☆ねよ

一時的にGithubに移ったとか聞いてるが,色々面倒過ぎる... GitもLinuxも, git remote でそれぞれ変えていかないといけないのか? ちょっとググっても「何も考えずにこのコマンドを入力しろ」的tipsは見つからなかった.後で試したら書くかも.仕事行かないと...
これも人民解放軍のクラッカーの仕業なんですかねぇ.中華帝国様マジ止めてほしい.しかしさすがに kernel.org に侵入となると(まさか単純なSQL injectionってこともあるまい)SONY 相手よりは凄腕なのかなと想像してしまう.
まぁそれでも最新版が取れないだけでローカルでは今まで通りに作業できるのがDVCSの良いところか.(履歴の改竄の心配はあるが... 後で検証すればいいだろ)
追記:うーん,汎用の方法は無いなぁ.そもそも元 kernel.org にいた場所とGithubに引っ越した場所に対応関係が無いからなぁ.例えばGit自身のGitリポジトリだと

$ git remote show origin
fatal: Unable to look up git.kernel.org (port 9418) (Name or service not known)
$ git remote show origin -n
* remote origin
  Fetch URL: git://git.kernel.org/pub/scm/git/git.git
  Push  URL: git://git.kernel.org/pub/scm/git/git.git
  HEAD branch: (not queried)
  Remote branches: (status not queried)
    html
    maint
    man
    master
    next
    pu
    todo
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push' (status not queried):
    (matching) pushes to (matching)

これに対し,単純に行きたければ

$ git remote set-url origin https://github.com/git/git.git

前のを残したければ

$ git remote rename origin origin0
$ git remote add origin https://github.com/git/git.git
$ git config branch.master.remote origin

どちらにせよ,これで,

$ git remote show origin
* remote origin
  Fetch URL: https://github.com/git/git.git
  Push  URL: https://github.com/git/git.git
  HEAD branch: master
  Remote branches:
    html   new (next fetch will store in remotes/origin)
    maint  new (next fetch will store in remotes/origin)
    man    new (next fetch will store in remotes/origin)
    master new (next fetch will store in remotes/origin)
    next   new (next fetch will store in remotes/origin)
    pu     new (next fetch will store in remotes/origin)
    todo   new (next fetch will store in remotes/origin)
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (local out of date)
$ git pull
remote: Counting objects: 1543, done.
remote: Compressing objects: 100% (472/472), done.
remote: Total 984 (delta 746), reused 713 (delta 512)
Receiving objects: 100% (984/984), 454.28 KiB | 153 KiB/s, done.
Resolving deltas: 100% (746/746), completed with 149 local objects.
From https://github.com/git/git
 * [new branch]      html       -> origin/html
 * [new branch]      maint      -> origin/maint
 * [new branch]      man        -> origin/man
 * [new branch]      master     -> origin/master
 * [new branch]      next       -> origin/next
 * [new branch]      pu         -> origin/pu
 * [new branch]      todo       -> origin/todo
From https://github.com/git/git
 * [new tag]         v1.7.6.1   -> v1.7.6.1
 * [new tag]         v1.7.7-rc0 -> v1.7.7-rc0
Updating cee4268..4b5eac7
Fast-forward
 Documentation/RelNotes/1.7.6.1.txt                 |   11 +
(略

(Gitプロトコルがお好みなら git://github.com/git/git.git で.)しかし,これを繰り返すのはめんどいで...
Cf.

ところで https://github.com/torvalds/linux は, http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git と同じと思っていいのかな? 他にも沢山のツリーがあったが...