« GitHub で、アプリケーションを公開 No.3 | メイン | git アップフレード 1.7.1 → »


GitHub で、アプリケーションを公開 No.4

●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
commit 0cb198b8f8ca0d4a53dfc59e8ba23bf9e3134193
Author: remixgrjp <mymail@domain>
Date: Fri Jul 5 10:31:16 2013 +0900

Edit README.md.

Signed-off-by: remixgrjp <mymail@domain>

commit 0b981439b7a8621d04c6369ee9bd369da34f17db
Author: remixgrjp <mymail@domain>
Date: Thu Jul 4 18:30:37 2013 +0900

Initial commit

Signed-off-by: remixgrjp <mymail@domain>

当然リモートの Github にも反映済み。