내가 보려고 만든 명령어 모음집


Git 명령어:

git init:

  • git 초기화
  • .git 폴더 생성
git init

git status:

  • git 상태 확인
git status

  • 수정된 file/staging area에 있는 file 확인
git status -s

git diff:

  • 수정사항 상세 설명
git diff

git add:

  • working directory에 있는 모file을 staging area에 옮김
git add .

ehco:

  • file에 코드 추가
echo [코드] >> [파일명.확장자]

git commit:

  • staging area에 있는 변경사항을 git repository에 이동
git commit -m "message"

Github-Pages 명령어

github-pages 수정 시:

  • 아래 명령어 모두 입력
cd /Users/jihyun/Desktop/IdeaProjects/Jihyun3478.github.io
bundle exec jekyll serve
git add .
git commit –m "message"
git push
profile
2022.08 ~ 2023.09 / 현재 티스토리 이전 : https://jihyun-devstory.tistory.com/

0개의 댓글

Powered by GraphCDN, the GraphQL CDN