●README.md を編集
[taro@fitPC2i ~]$ cd ~/web/www/appli/formmail
[taro@fitPC2i formmail]$ vi ~/web/www/appli/formmail/README.md
[taro@fitPC2i formmail]$ git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: README.md
#
no changes added to commit (use "git add" and/or "git commit -a")
コミット前の変更ファイルが認識。次は...▼
●サイン付きでコミット
[taro@fitPC2i formmail]$ git commit -m "Edit README.md." -s -a
[master 0cb198b] Edit README.md.
1 files changed, 174 insertions(+), 0 deletions(-)
[taro@fitPC2i formmail]$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
nothing to commit (working directory clean)
●リモートの Github へプッシュ
[taro@fitPC2i formmail]$ git push
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 2.82 KiB, done.
Total 3 (delta 1), reused 0 (delta 0)
To git@github.com:remixgrjp/formmail.git
0b98143..0cb198b master -> master
●履歴の確認
[taro@fitPC2i formmail]$ git log当然リモートの Github にも反映済み。
commit 0cb198b8f8ca0d4a53dfc59e8ba23bf9e3134193
Author: remixgrjp <mymail@domain>
Date: Fri Jul 5 10:31:16 2013 +0900Edit README.md.
Signed-off-by: remixgrjp <mymail@domain>commit 0b981439b7a8621d04c6369ee9bd369da34f17db
Author: remixgrjp <mymail@domain>
Date: Thu Jul 4 18:30:37 2013 +0900Initial commit
Signed-off-by: remixgrjp <mymail@domain>
https://github.com/remixgrjp/formmail