blog/content/post/2009/06/03/2009-06-03-00001169.md

9.9 KiB
Raw Blame History

title author date wordtwit_post_info categories
gitのチュートリアル その2 kazu634 2009-06-03
O:8:"stdClass":13:{s:6:"manual";b:0;s:11:"tweet_times";i:1;s:5:"delay";i:0;s:7:"enabled";i:1;s:10:"separation";s:2:"60";s:7:"version";s:3:"3.7";s:14:"tweet_template";b:0;s:6:"status";i:2;s:6:"result";a:0:{}s:13:"tweet_counter";i:2;s:13:"tweet_log_ids";a:1:{i:0;i:4633;}s:9:"hash_tags";a:0:{}s:8:"accounts";a:1:{i:0;s:7:"kazu634";}}
git

前回の続きです。

コミットログの書き方

作法があるらしい:

  • 1行目: コミットする変更内容の要約
  • 2行目: 空行
  • 3行目: 変更した理由の説明

git status

git statusは、今の状態でgit commitを実行したら、どのファイルへの変更がコミットされ、どのファイルへの変更はコミットされずに残るかをプレビューするためのコマンドです。

~/working/cgi on simoom634 [508] $: git status
# On branch master
nothing to commit (working directory clean)

「git」に関連する最近のエントリ