Git & Github

Git Bash 설치 & Linux 커맨드 라인 기초

2022. 9. 22. 01:48

Git Bash 설치 & Linux 커맨드라인 기초


git bash

윈도우에서 Bash 명령어를 사용할 수 있도록 해주는 도구

 

 

'Bash' 란?

참고 사이트▼  


git bash 설치
https://git-scm.com/downloads

 

Git - Downloads

Downloads macOS 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 exp

git-scm.com


 

git bash 사용 시 주의할 점

Windows에서 사용자 이름은 영어로 설정하기

관리자 권한으로 실행하기


 

git bash 셋팅

git 최초 설정

https://git-scm.com/book/ko/v2/%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0-Git-%EC%B5%9C%EC%B4%88-%EC%84%A4%EC%A0%95

 

Git - Git 최초 설정

Vim과 Emacs, Notepad++은 꽤 인기 있는 편집기로 개발자들이 즐겨 사용한다. Mac이나 Linux 같은 Unix 시스템, Windows 시스템에서 사용 가능하다. 여기서 소개하는 편집기들이 불편해서 다른 편집기를 사

git-scm.com

$ git config --global user.name "ereum"

$ git config --global user.email erum@mailadd.com

$ git config --global core.autocrlf true

 


git 기초 커맨드 라인

명령어 실행 내용
pwd 현재작업경로
cd 경로 변경
ls 현재 위치에 있는 파일 보여주기
ls -a 숨겨진 파일까지 보여줌
ls -l 파일과 디렉터리들에 대한 훨씬 더 자세한 정보를 보여줌
ls -al 파일 모두 자세하기

 

커맨드라인 사용법

참고 사이트▼