Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

0522 프로그래머스 과제


학습한 내용

  • 인터넷의 역사
  • 환경설정
  • git, github
  • gui, cli

복습 할 내용

git remote -v // 원격 저장소 연결 확인
git remote add origin https://github.com/사용자명/레포명.git // 원격 저장소 연결 (처음)
git init // .git 생성 (초기화)
git branch // 브랜치 목록 확인
git checkout 브랜치명 // 대상 브랜치로 체크아웃
git checkout -b 브랜치명 // 브랜치 생성하면서 체크아웃
git switch -c 브랜치명 // 브랜치 생성하면서 바꾸기 (checkout 이랑 비슷하나 더 최신, 변경사항 변동 없이 브랜치만 변경)
git status // 현재 작업 상태 확인
git add index.html // index.html 만 스테이징
git add .  // 모든 내용 스테이징
git commit -m "커밋메세지" // 커밋

git merge 브랜치명 // 현재 브랜치와 대상 브랜치 합병
git branch -D 브랜치명 // 대상 브랜치 삭제
git push origin main // 원격 푸쉬
mkdir 폴더명 // 폴더 생성
cd 폴더명 // 폴더로 이동
cd .. // 상위 폴더로 나가기
echo 내용 > 파일명 // 파일 안에 내용 넣기 (초기화 후)
echo 내용 >> 파일명 // 파일 안에 내용 넣기 (마지막에 붙여쓰기)

단축키

ctrl + ` 터미널 열기

ctrl + shift + p 검색창

ctrl + w 현재창 닫기

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages