헤르메스 LIFE

[STS] Terminal을 이용한 Git Clone 본문

형상관리

[STS] Terminal을 이용한 Git Clone

헤르메스의날개 2023. 2. 24. 00:12
728x90

STS Terminal 을 이용해서 Github와의 연동을 완료했습니다.

이제는 Github에 있는 Repository 내용을 Clone 받아 보겠습니다.

그러기 위해서는 로컬에 있는 octopus_backend 폴더를 삭제해야 합니다.

https://hermeslog.tistory.com/675

 

[STS] Terminal을 이용한 Git 설정

STS 에서 Git을 연동하는 내용을 테스트 했습니다. https://hermeslog.tistory.com/674 [STS] STS에서 Github 연동 / 프로젝트 업로드 개발환경 STS 4.17.2.RELEASE Github https://hermeslog.tistory.com/464 [Git] Windows 10 Git 설치 G

hermeslog.tistory.com


개발환경

STS 4.17.2.RELEASE

Github


1. Terminal을 이용한 Git Clone

폴더 이동 >> cd /c/Octopus/workspace ( workspace 까지만 이동해야 합니다. )

Github Repository Clone >> git clone https://github.com/hermeswing/octopus_backend.git

Clone 받은 폴더로 이동 >> cd octopus_backend

확인 >> ls -al ( .git 폴더가 생성되어 있습니다. )

Terminal 설정을 변경해서 백그라운드 색상 및 폰트 색상을 변경했습니다.

2. 프로젝트 Import

STS >> File >> Import > Gradle > Existing Gradle Project

>> Next

>> build.gradle 파일이 있는 폴더를 선택해 줍니다.

>> Next

>> Finish

 

728x90

'형상관리' 카테고리의 다른 글

[Git] Git 명령어  (2) 2024.02.06
[Git] Github Fork 방법  (0) 2023.02.24
[Git] Warning 로그  (0) 2023.02.22
[STS] Terminal을 이용한 Git 설정  (0) 2023.02.22
[STS] STS에서 Github 연동 / 프로젝트 업로드  (0) 2023.02.21