github



Sitemap | Profile | タグ一覧
最近の更新
ドライランのありがたみを改めて知る
2024/04/04
伊豆半島
2024/03/31
お出かけチェックリスト
2024/03/29
Ruby
2024/03/27
Kubernetes
2024/03/22
音楽データをDisplayAudioで聞く
2024/03/09
Redmine
2024/02/05
git
2024/02/02
経済
2024/01/08
どうする家康
2023/12/17
MX-Linux
2023/11/06
國體関連学-休学のご連絡
2023/08/13
Debian
2023/08/02
CentOS
2023/06/13
Dell-XPS13
2023/05/23
ベルト
2023/05/18
SourceForge
2023/04/17
確定申告
2023/02/19
さらば「まぐまぐ」
2023/01/09
風猷縄学
2022/11/23


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