Closed ckanayama closed 6 years ago
オネシャス:smile:
お願いします!!
小さな変更のためにわざわざブランチを作成する必要はありませんが、
どれぐらい小さいのだと切らないってこと? 粒度に困る
良い習慣
良い師匠を見つけること
(1)良い師匠を見つける ・開発に対する姿勢 ・責任持って作りきる ・レビューの細かさ ・ユーザへの責任を感じつつ、妥協しない
まとめて作業してしまってから 変更のまとまりをコミットする
-a はあんまり使わないかも? byこんちゃん 一度ガッと作って、変更のまとまりをコミットしていく
コミットメッセージは現在形かつ命令形で書く
日本語だと体言止め
Box 4. Committing to Git By design, Git requires every commit to include a commit message describing the purpose of the commit. Typically, this takes the form of a single line, usually limited to around 72 characters, with an optional longer message if desired (Section 4.2.3). Although conventions for commit messages vary (Figure 5),8 the style adopted in this tutorial is to write commit messages in the present tense using the imperative mood, as in “Initialize repository” rather than “Initializes repository” or “Initialized repository”. The reason for this convention is that Git models commits as a series of text transformations, and in this context it makes sense to describe what each commit does instead of what it did. Moreover, this usage agrees with the convention followed by the commit messages generated by Git commands themselves (e.g., “merge” rather than “merges” or “merged”). For more information, see the GitHub article “Shiny new commit styles”.
Committing to Git https://www.learnenough.com/git-tutorial#aside-commit_messages
にちゃんと書いてるんすね。読み飛ばしてました
さっきの記事です。 Githubの中の人に聞いた、commit識別番号を人間でも扱いやすくする3つの工夫 http://naoyashiga.hatenablog.com/entry/2013/11/22/013406
commit hash のunique性をどうやって担保している???
Gitのコミットハッシュ値は、どうやって同値性を保っているの?
9e47c22 こういうやつ
■まず作り方 https://tech.mercari.com/entry/2016/02/08/173000 https://qiita.com/suzuki_koya/items/ec253845f2b07b9c45c0
tree, parent, author, commiterとファイルのbyte数をsha1でハッシュ化して生成する
■被ったらどうなるの? ・先にコミットした人のものが優先される ・かぶる可能性は天文学的数字(でもかぶる可能性は微レ存)
1方向ハッシュ関数 sha1 https://qiita.com/jackpod/items/84cf1b741c4975bbedca
トピックブランチの削除は必須ではありません。実際、トピックブランチを削除せずにそのままにしておくことはよく行われています。トピックブランチを削除せずに残しておけば、トピックブランチとmasterブランチを交互に行き来して、キリの良い所で変更をマージする事ができます。
トピックブランチを使いまわす??
エピックブランチ、トピックブランチ、フィーチャーブランチ??呼び方色々ブランチ達
development ではsqlite production ではpostgreSQL 使う
HerokuではSQLiteがサポートされていないため
駄目なきがする。。。 byこんちゃん
本番環境と開発環境でDB別にするのはよろしくない気がす
1.5.1 Herokuのセットアップ 読了
Heroku、名前を指定しないと謎の名前になりますよね by ちなつ
afternoon-waveという中2病感溢れる名前ができました笑
永和二中に入れる^^ニッコリ
情熱プログラマとアプレンティスシップパターンは 読むとモチベ爆上げ 読むレッドブル
よろしくおねがいします!