본문 바로가기

IT공부/git

[git] git study 0430

728x90

 

 

GIT STUDY 210430~

 

git config —global user.name “닉네임”

git config —global user.email 계정

 

git log

 

git add README.md

 

git commit -m “프로젝트 설명 파일 추가”

 

git remote add origin https://github.com/delightPIP/Boxiting.git

 

git push origin master

 

 

 

Clone 을 하면 버전관리 된 .git 까지 다 받아옴

 

업데이트 된 데이터는 pull 로 가져오고,

푸시 권한이 있다면 자신의 로컬 저장소 파일을 원격 저장소에 push 할 수 있다.

 

 

터미널 새탭 command + t

 

 

git clone https://github.com/delightPIP/Boxiting .

뒤에 . 은 이 현재 위치한 폴더에 생성하라는 명령어

 

 

git push origin master  (올리기)

git pull origin master (가져오기)

 

 

 

 

<!----->

 

 

git remote rm origin  // git 서버 초기화

git remote add origin https://….

git pull origin master (서버의 작업파일 가져오기)

 

후 내 작업 

 

git add 내작업파일

 

git commit -m “업로드 정보 설명”

git push origin master 

 

작업 올리기

728x90

'IT공부 > git' 카테고리의 다른 글

[git organization] 사용할 명령어  (0) 2023.06.12