Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

naverCloudstudy

네이버 클라우드 과정 3기 수업

git.bash

  1. git init - git 과 연동할 폴더 초기화
  2. git remote add origin https://github.com/2Smean/naverCloudstudy.git - git 원격저장소에 새로 연결
    오류가 나서 새로운 깃 저장소랑 연결이 안될경우 git remote set-url origin https://github.com/2Smean/naverCloudstudy.git
  3. git branch - branch 조회
  4. git add . 또는 git add 파일명 : 해당 파일들을 로컬 저장소에 추가
  5. git commit -M 메세지 - 해당 메세지와 함께 위의 파일들을 로컬저장소에 커밋 (cf. 메세지에 띄어쓰기 없으며 그냥 써도 됨, 있으면 큰따옴표로 표시해야함)
  6. git push origin master - 원격저장소의 해당 브랜치에 소스 보내기
    • 반대로 원격 저장소의 수정된 내용을 가져오경우
    • git push origin 브랜치명

처음에 한번만 이메일과 유저명 확인 git config --global user.name "[사용자명]" git config --global user.email "[사용자이메일]"

About

네이버 클라우드 과정 3기 수업

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages