&tag(github/自作ライブラリの公開);
*目次 [#s8875f58]
#contents
*関連ページ [#t0cb0cbb]
*参考情報 [#u7578d05]
-[[はじめての Github で自作のライブラリを公開するためのリポジトリ作成や設定まとめ | ウェブル:http://weble.org/2012/05/09/github-beginner]]
-[[2013-05-05 - 未来のいつか/hyoshiokの日記:http://d.hatena.ne.jp/hyoshiok/20130505]]

*手順 [#se5a8ede]
**リポジトリの作成とpush [#gde10319]
-githubでリポジトリを作成。
-ローカルでリポジトリを作成しpushする。
#pre[{
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:src256/test.git
git push -u origin master
}}

**他のマシンでclone [#p1bc0fb3]
-他のマシンでcloneする場合
#pre{{
git clone git@github.com:src256/test.git
}}

*Tips [#taec18c6]
**~/.ssh/configで便利に [#c0329319]
#pre{{
Host githubsrc256
  User git
  Hostname github.com
  IdentityFile ~/.ssh/id_rsa.src256@github
}}



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS