Linux 및 Windows에서 git을 설정하는 방법
git 환경 설정에 대한 가이드입니다.

TLDR,
git 이론에 대한 가정
어디서 구할 수 있습니까?
os에 따라 다르게 처리합니다.
윈도우
Windows에 git을 설치하려면
Git source link
Windows용 주어진 실행 파일을 다운로드합니다.
일단 다운로드,.exe 파일을 두 번 클릭하고 라이센스 계약에 동의하십시오.
나머지 선택 항목의 경우 next를 클릭하고 다른 모든 설정은 기본값으로 둡니다.
일단 설치되면 Windows 응용 프로그램 목록으로 이동합니다.
검색 git bash
제대로 설치되었는지 확인
Open your cmd and type Users\uname> git --version
If there's no version you may reconsider re-installing the app again
다음으로 git config를 설정해야 합니다.Git가 설치되었으며 이제 모든 터미널에서 구성을 설정할 수 있습니다.
os에 따라 다르게 처리합니다.윈도우
Windows에 git을 설치하려면
Git source link
Windows용 주어진 실행 파일을 다운로드합니다.
일단 다운로드,.exe 파일을 두 번 클릭하고 라이센스 계약에 동의하십시오.
나머지 선택 항목의 경우 next를 클릭하고 다른 모든 설정은 기본값으로 둡니다.
일단 설치되면 Windows 응용 프로그램 목록으로 이동합니다.
검색 git bash
제대로 설치되었는지 확인
Open your cmd and type Users\uname> git --version
If there's no version you may reconsider re-installing the app again
다음으로 git config를 설정해야 합니다.Git가 설치되었으며 이제 모든 터미널에서 구성을 설정할 수 있습니다.
제대로 설치되었는지 확인
Open your cmd and type Users\uname> git --version
If there's no version you may reconsider re-installing the app again
cmd powershell git bash cmder 따라서 터미널을 열고 다음을 입력하십시오.
$ git config --global user.name <username> # eg git config --global user.name "Jane Doe"
$ git config --global user.email <email-address> # eg git config --global user.email "[email protected]"
$ git config --global core.editor "code --wait"
$ git config --global core.autocrlf true
리눅스
나는 데비안 배포판을 사용하고 있습니다.
kali linux Ubuntu zorin Parrot git 패키지는 이미 터미널에서 사용할 수 있습니다.
실행을 확인하려면
$ git --version존재하지 않는 경우 실행$ sudo apt-get install git
명령이 시스템에 설치되어야 합니다
git.다음으로 git을 구성합니다.
$ git config --global user.name <username> # eg git config --global user.name "Jane Doe"
$ git config --global user.email <email-address> # eg git config --global user.email "[email protected]"
$ git config --global core.editor "code --wait"
$ git config --global core.autocrlf input
⚠️조심하세요
core.autocrlf 및 Windows 차이에 대한 Linux 값의 차이를 고려하십시오.
이제 git을 설정하고 시스템에 구성했습니다.
설정을 확인하려면 실행
$ git config --list
잘했어요

시스템에 git을 성공적으로 설정했습니다.
Reference
이 문제에 관하여(Linux 및 Windows에서 git을 설정하는 방법), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://dev.to/forinda/how-to-setup-git-on-linux-and-windows-2b3h
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
$ git config --list
Reference
이 문제에 관하여(Linux 및 Windows에서 git을 설정하는 방법), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/forinda/how-to-setup-git-on-linux-and-windows-2b3h텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)