github





Old-type が今更 github を使うことになった(自虐^^;)のでメモ

[-] 1. tips

[-] 1.1. github に既存リポジトリを create & push

  1. github に作成
  2. 下記で push
    $ git remote add origin https://github.com/[MY_ACCT]/[PACKAGE_NAME].git
    $ git push -u origin master

[-] 1.2. fork → pull-request メモ

  1. fork
  2. clone
  3. name, email 設定
    $ git config user.name [MY_NAME]
    $ git config user.email [MY_EMAIL]
  4. トピックブランチ作成
    $ git co -b exclude_README_prototype
  5. 修正。コミット(チケット番号を忘れずに)
  6. 自分の fork に push
    $ git push origin exclude_README_prototype
  7. github GUI 上で pull request する。

参考: http://d.hatena.ne.jp/hnw/20110528

[-] 1.3. リポジトリ共有式 pull-request

ただし、master への push は出来てしまうそうだ。 gitolite などでの制御は出来るだろうか?

[-] 1.4. github から diff をダウンロードする方法

[-] 2. gist とは何ぞや?

ググると:






Generated by juli 2.3.2