20. Programming/Tools - 4WIndows
윈도우에서 repo 사용하기
x미소
2018. 1. 11. 16:02
1. Cygwin 설치
- http://www.kaisyu.com/notes/google-android/android-download-full-source-on-windows
- Cygwin: http://www.cygwin.com
- Cygwin 설치 시 추가로 선택해야 할 패키지들: curl, git, python, readline
2. Repo 설치
- 설치: http://dreamlog.tistory.com/2
- Trouble shooting : http://yeslab.tistory.com/39
- 절차
+ $ mkdir ~/bin
+ $ PATH=~/bin:$PATH
+ $ vi ~/.bashrc
+ 파일 맨 마지막에
+ PATH="~/bin:$PATH"
+ $ source ~/.bashrc
+ $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
+ $ chmod a+x ~/bin/repo
3. Generate public key
- https://git-scm.com/book/ko/v1/Git-%EC%84%9C%EB%B2%84-SSH-%EA%B3%B5%EA%B0%9C%ED%82%A4-%EB%A7%8C%EB%93%A4%EA%B8%B0
- 절차
+ $ ssh-keygen
+ $ cat ~/.ssh/id_rsa.pub