Git commit

Jmnote (토론 | 기여)님의 2016년 2월 28일 (일) 16:58 판 (새 문서: ==개요== ;git commit ==실습== <source lang='cli'> root@zetawiki:~# mkdir -p workspace/hello root@zetawiki:~# cd workspace/hello/ root@zetawiki:~/workspace/hello# git init Reiniti...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

git commit

2 실습

root@zetawiki:~# mkdir -p workspace/hello
root@zetawiki:~# cd workspace/hello/
root@zetawiki:~/workspace/hello# git init
Reinitialized existing Git repository in /root/workspace/hello/.git/
root@zetawiki:~/workspace/hello# echo 'hello world' > greet.txt
root@zetawiki:~/workspace/hello# git add greet.txt 
root@zetawiki:~/workspace/hello# git commit -m 'hello world!'
On branch master
nothing to commit, working directory clean
root@zetawiki:~/workspace/hello# git log
commit f0d720b4a1c51f7d52ad0d3a70d934e26f423371
Author: root <root@zetawiki.cafe24.com>
Date:   Sun Feb 28 16:56:04 2016 +0900

    hello world!
root@zetawiki:~/workspace/hello# git status

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}