k2.craft
Gitの掟

Gitの掟

Gitとは

バージョン管理ツールのことです。バージョンごとに管理することができるので、バグが発生した際にも戻ることができるのはよいですね。

なぜこれをテーマに?

インターン先で、Gitの小さなルールが暗黙的に浸透していたので、おさらいしておくのがよいと思いました。

3行で記述する

1行目: 変更内容の要約(タイトル、概要)

2行目: 空白

3行目: 変更した理由(内容、詳細)

↑ このルールが圧倒的に浸透しているようです。


改行なしコミット

Derezz the master control program MCP turned out to be evil and had become intent on world domination. This commit throws Tron's disc into MCP (causing its deresolution) and turns it back into a chess game.

改行コミット

Derezz the master control program

MCP turned out to be evil and had become intent on world domination.
This commit throws Tron's disc into MCP (causing its deresolution)
and turns it back into a chess game.

https://meetup-jp.toast.com/839

meetup-jp.toast.com

 より