"Git commit"의 두 판 사이의 차이

(새 문서: ==개요== ;git commit ==실습== <source lang='cli'> root@zetawiki:~# mkdir -p workspace/hello root@zetawiki:~# cd workspace/hello/ root@zetawiki:~/workspace/hello# git init Reiniti...)
 
13번째 줄: 13번째 줄:
On branch master
On branch master
nothing to commit, working directory clean
nothing to commit, working directory clean
root@zetawiki:~/workspace/hello# git log
root@zetawiki:~/workspace/hello# git stus
commit f0d720b4a1c51f7d52ad0d3a70d934e26f423371
commit f0d720b4a1c51f7d52ad0d3a70d934e26f423371
Author: root <root@zetawiki.cafe24.com>
Author: root <root@zetawiki.cafe24.com>
25번째 줄: 25번째 줄:
*[[git init]]
*[[git init]]
*[[git add]]
*[[git add]]
*[[git commit]]
*[[git log]]
*[[git status]]
*[[git status]]


[[분류: git]]
[[분류: git]]

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