1. Linux 세션 때 만든 wecode 폴더로 이동 cd Desktop/wecode
  2. wecode 폴더 안에 git_practice 폴더 생성 mkdir git_practice
  3. Git 시작 : git 초기화

git_practice으로 이동

cd git_practice

git 초기화

git init .git 폴더 확인

ls-al 4. 본인영문이름.md 파일 생성 touch seunghyunson.md 5. 해당 파일에서 본인 이름 작성 후 저장 vim 편집기 실행 vi seunghyunson.md insert 모드 전환 후 내용 작성 및 저장 git 상태 확인 git status 7. Staging(중간 저장) git add git status로 상태 변화 확인 8. Commit git commit -m “메세지 git status로 상태 변화 확인 9. Commit history 확인 git log 10. Github repo 생성 github 사이트 → New repository 11. git_practice 폴더와 github repository 연동 git remote add origin repository주소 12. git push git push origin main

태그:

카테고리:

업데이트:

첫 글입니다 ⚒︎공사중⚒︎

댓글남기기