Skip to content

Instantly share code, notes, and snippets.

@hironomiu
Last active August 29, 2015 14:27
Show Gist options
  • Save hironomiu/fa80b622538412580ee4 to your computer and use it in GitHub Desktop.
Save hironomiu/fa80b622538412580ee4 to your computer and use it in GitHub Desktop.
Treasure2015:日報

日報

Treasure期間中、みなさんは毎日、日報を書きます。後半戦ではチーム開発する際に日報で行っている 「issue -> branch -> 開発 -> push -> pull request」 の開発サイクルで全員開発するので日報で、このサイクルに慣れましょう!

Step0 準備

$ cd ~/Treasure2015/daily_report
$ git checkout master
$ git branch

masterにマークされること

$ git pull origin master

エラーなくpullできること

Step1 issueの作成

Treasure2015:issuesでNew issueでissueを切る

タイトルは「日付_ニックネーム」
例 2015-08-10_hironomiu

Step2 branchの作成

$ cd ~/Treasure2015/daily_report/自分のディレクトリ

自分のディレクトリに遷移すること

$ git branch issueのタイトル
$ git checkout issueのタイトル
$ git branch

作成したbranchにマークされていること

Step3 日報の記載

$ vi 2015-08-10.md

エディタはなんでも良い。今日何を学んだかをMarkdownで記載

Step4 pushまで

$ git add .
$ git commit -m "メッセージ"
$ git push origin issueのタイトル

Step5 pull request

Treasure2015:pullsで自分の作成したbranchでpull requestすること

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment