以前試しに作ったTinyURL_helperですが、gitを勉強するにあたってgithubに移行してみました。
http://github.com/satoko/tinyurl_helper/tree/master

その手順を書いてみます。

###公開リポジトリを作る

  1. githubにログイン
  2. ダッシュボードで"Create a Repository"リンクをクリック
  3. Project Name, Descriptioin, Homepage URLを入力し、レポジトリの公開範囲(Anyone)を選択
  4. Submitボタンをクリック

###Next steps:git pushまで
現状svnで管理しているpluginをチェックアウトします
shell>>
svn co http://svn.s21g.com/public/rails/plugins/tinyurl_helper/ tinyurl_helper
cd tinyurl_helper
<<--

Submit後下記のような指示が画面に表示されますが、今回は移行作業なのでtouch READMEなどを飛ばします。
shell>>
mkdir tinyurl_helper
cd tinyurl_helper
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:satoko/tinyurl_helper.git
git push origin master
<<--

実際にやった作業
shell>>
$ git-init
$ git-add .
$ git status
$ git commit -m "first commit"
$git remote add origin git@github.com:satoko/tinyurl_helper.git
$git push origin master
<<--

(注)public_keyをgithubに設定しておき、pagentにprivate_keyを読み込ませてsshでagent-forward設定をしておきます。でpush!

posted by satoko satoko on Mon 12 May 2008 at 01:08 with 0 comments
Contents rssrss
NSAssertやNSLogを無効にする:-DNS_BLOCK_ASSERTIONS=1とNS_BLOCK_ASSERTIONS
GDBでview.frameを表示させる
Core Animationについてのリンク集
[iPhone] new BSDライセンスについてライセンス引用のメモ
Implementing a Container View Controller in UIViewController Class Reference
UITableView用のNSIndexPathの作り方
Xcodeのテンプレート、View-based ApplicationとWindow-based Applicationの違い
CopyOnSelectのLion対応
Xcode4のCode Snippetsを別のPCに移動する+gitで管理する
[iPhone] Singleton: iOS4以降はGCDのdispatch_onceを使う
Tags
iphone開発gitIBInterfaceBuilderiOSSIMBLSnippetsterminaltwitterxcodeXcode4
Comments rssrss
guest guest: Muchos turistas buscan la mejor forma de llegar a ... 05/30 03:19
guest guest: San Antonio de Areco es conocido como la cuna de l... 05/27 19:47
guest guest: Optimizar el tiempo durante un viaje de negocios e... 05/18 00:46
guest guest: Para muchos turistas, el transporte publico y la l... 05/15 18:22
Services from s21g
天気ランキング
複数の天気予報サービスの予報と観測結果を比較。週間・月間・年間・通期のランキングや地域別の予報比較から、自分に合う天気予報を探せます。
MagicBag
MagicBagは、Cloudflare R2やS3互換ストレージをMacのFinderから扱えるファイル同期クライアントです。
アンテナショップめぐり
東京にある全国のアンテナショップ、イベント、特産品を地図や条件から探せるサービスです。
YOMU Web小説リーダー
YOMUは、Web小説の読み上げに特化したiPhoneアプリです。
補助探
公開されている補助金・助成金情報を集約し、条件に合う制度を探しやすくするサービスです。