Android Studio 에서 git 사용하기

- git 저장소 위치 선택

 

VCS -> Import into Version Control -> Create Git Repository...

 

 

- 프로젝트를 선택한뒤 git에 올릴 파일을 추가한다.

 

프로젝트 선택 > 마우스 우측버튼 클릭 > Git > Add

 

 

- commit

 

VCS > Git > Commit Directory...
comment를 달고 commit 클릭

 

 

 

- remote git 에 올리기

 

VCS > Git > Push...

 

 

- 등록 확인

 

github 프로젝트