달력

5

« 2024/5 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
2015. 3. 31. 21:46

[Android Studio] bitBucket 사용하기 IT/Tools2015. 3. 31. 21:46



2015.4. 현재 andriod studio 에서 bitbucket 을 사용하는 것은 그리 편해 보이지 않음. 

그냥 독립된 GIT GUI 툴인 Source Tree를 사용하는 것이 맘편해 보임.  




1. Git 설치

http://git-scm.com/downloads



2. Git 위치 지정

File > Settings > Version Control > Git 


방금설치한 Git 의 경로를 입력한 뒤 Test 




3. bitbucket plugin 설치

File > Settings > Plugins >>> Browse repositories


Bitbucket를 검색하여 plugin을 설치한다. 




4. BitBucket 계정입력

File > Settings > bitBucket


계정입력 후 Test.




[Init]

VCS > Enable Version Control Integration

Git를 선택.

File > Settings > Version Control 에서 재설정 가능함. 



[add] 

VCS > Git > Add 


[commit]

VCS > Commit Changes 

\\(Project Folder)\.git : 숨김폴더임. 이곳에 add & commit 이 발생함. 



[remote Repository Init] - ?? 잘 모르겠음. 

VSC > Import into Version Control > share project 



[push]

푸시를 위해서는 config 파일을 수정해야 함. 


\\(Project Folder)\.git\config 


[remote "origin"] 

url = https://(Your Profile)@bitbucket.org/(Your Profile)/(Your Repository).git 



[ETC]

이 이후 branch 및 merge 등 복잡한 작업들이 있는데, andriod studio 에서는 더이상 진행하지 않음. 

SourceTree로 진행함. 





<참고> 

https://beyondj2ee.wordpress.com/2013/06/28/%EC%9D%B8%ED%85%94%EB%A6%ACj-%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0-part4-getting-start-intellij-git/


http://yeoreogaji.blogspot.kr/2014/08/blog-post_25.html

http://lahuman.jabsiri.co.kr/23

'IT > Tools' 카테고리의 다른 글

[SourceTree] cafe24 에서 nodejs hosting 설정  (0) 2015.07.07
[SourceTree] GUI를 이용해 편하게 소스 형상관리  (0) 2015.04.20
Andriod Studio  (0) 2015.03.23
:
Posted by 피카프