TOOL/VCS 2016. 2. 9. 21:15

///// Git (깃)




///// 환경

OS: Windows7

TOOL: GIT BASH




///// How to make Dropbox Git Remote Repository (드랍박스를 깃 원격저장소로 만드는 법)

1. Make Remote Repository Folder in Dropbox (드랍박스 안에 원격저장소를 만든다.)

cd d:/Dropbox/gitremote/

mkdir hahaha.git

cd hahaha.git


2. Set Remote Repository (저장소로 지정한다.)

git init --bare




///// How to push to Dropbox Git Remote Repository (드랍박스 깃 원격저장소에 푸시하는 법)

1. Move your project

cd d:/workspace/myproject/


2. Set Dropbox Remote Repository (원격저장소를 설정한다.)

git remote add mybox file:///d/dev_by_sj/Dropbox/gitremote/sjtest.git


3. Push to your Dropbox Remote Repository seted "mybox" (mybox로 설정된 원격저장소로 푸시한다.)

git push mybox master




///// 참조

Dropbox를 Git 저장소로 사용하기: 

http://seapy.com/1747