git ۿ key Ҵ Ͻ , Ʒ Ͻø ˴ϴ.
1. git ۾
(1) [ī24 α - Ǽ - ⺻ - public key ] key .
(2) [ī24 α - Ǽ - ⺻ - /] .
(3) [ī24 α - Ǽ - ⺻ - /] key Ҵ.
Ʒ Ʈ Ͽ public key Ͻñ ٶϴ.
URL :
http://help.cafe24.com/cs/cs_manual_view.php?idx=46&page=1&categoryIdx=509&s_key=&s_value=&man_no=1
2. git
(1)
TEST@TEST-PC /e
$ mkdir testnodejs
TEST@TEST-PC /e
$ cd testnodejs
TEST@TEST-PC /e
$ git init
Initialized empty Git repository in e:/testnodejs/.git/
(2)
TEST@TEST-PC /e/testnodejs (master)
$ git remote add remote_nodejs testid@apptest.cafe24app.com:testid_apptest
(3) ⺻ index (nodejs ȣÿ web.js index Ϸ ˴ϴ.)
TEST@TEST-PC /e/testnodejs (master)
$ vi web.js
(4) 丮
TEST@TEST-PC /e/testnodejs (master)
$ git add .
(5) git commit
TEST@TEST-PC /e/testnodejs (master)
$ git commit -m "nodejs test"
[master (root-commit) c8e79b0] nodejs test
1 file changed, 8 insertions(+)
create mode 100644 web.js
(6) ҿ push
TEST@TEST-PC /e/testnodejs (master)
$ git push remote_nodejs master
Enter passphrase for key '/c/Users/test/.ssh/id_rsa':
testid@apptest.cafe24app.com's password:
Counting objects: 2, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 294 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: web.js
remote: TMP_DIR = /tmp/testid/testid_apptest
remote: TARGET_DIR = /home/hosting_users/testid/apps
remote: USER = testid
remote: >f..T...... testid_apptest/web.js
To testid@apptest.cafe24app.com:testid_apptest
11be96c..5c74f53 master -> master