1. Git 다운로드 및 설치

https://git-scm.com/downloads

 

Git - Downloads

Downloads Mac OS X Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific

git-scm.com

 

Windows 를 눌러 다운

 

다운받은 Git-2.24.0.2-64-bit.exe 를 실행

 

 

Use the OpenSSL library : OpenSSL 라이브러리 사용. 서버인증서는 ca-bundle.crt 파일을 사용
Use the native Windows Secure Channel library : Windows 인증서 저장소 사용

 

 

Enable file system caching : 성능향상을 위해 파일 시스템 데이터를 메모리에 캐시
Enable Git Credential Manager : Windows 용 보안 Git 자격증명 저장소를 사용
Enable symbolic links : symbolic links 활성화(기존 저장소는 영향을 받지 않음)

 

 

이제 다시 cmd를 열고 한번 더 git 명령을 쳐 확인

git 설치 전에 cmd가 열려 있었다면 닫고 다시 열어야 한다

이렇게 나온다면 git 설치가 완료 된것이고 android studio 에서도 실제 git 을 사용할 수 있다.

 

혹시나 저렇게 나오지 않는다면 "시스템환경변수" 에 git의 Path 를 추가

 

2. path 추가

 

환경변수 클릭.

하단 시스템 변수에서 Path 를 누르고 편집 클릭.

 

설치 시 경로를 기본으로 했다면 위와 같이 입력
C:\Program Files\Git\cmd

 

그리고 cmd 가 열려있다면 닫고 다시 실행 후 git

이제 git 프로젝트 복사도 cmd 창에서 git clone http://some_git_url

'기타' 카테고리의 다른 글

Java 버전 에러  (0) 2022.12.21
특정 브랜치 클론  (0) 2022.11.13
admob - app-ads.txt 설정  (0) 2022.07.16
Button 배경색이 변경되지 않을 경우  (0) 2022.05.27
Apache License 2.0  (0) 2022.04.05

+ Recent posts