Git commit

Jmnote (토론 | 기여)님의 2016년 2월 28일 (일) 17:00 판

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 stus
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 }}