-
[OS] 23. FinishOS/OS from Scratch 2021. 7. 29. 13:51
서론
이번 강의에서는 간단한 오류들을 수정하여 OS를 완성하겠습니다. 해당 Github 강의는 다음과 같습니다.
https://github.com/cfenollosa/os-tutorial/tree/master/23-fixes
GitHub - cfenollosa/os-tutorial: How to create an OS from scratch
How to create an OS from scratch. Contribute to cfenollosa/os-tutorial development by creating an account on GitHub.
github.com
이론
Github 사용법
Github에 프로젝트를 올리기 위해서는 먼저 Github 사이트에서 Repository를 만듭니다.
다음으로 프로젝트 파일에서 init을 해줍니다.
git init
프로젝트에 새 파일을 추가하면 다음 명령어를 실행합니다.
git add <파일명>
또는 이미 여러 파일들이 존재할 경우 다음 명령어를 실행합니다.
git add .
추가된 파일들을 commit합니다.
git commit -m "<업데이트 내용>"
상태를 확인합니다.
git status
다음으로 Github와 같은 외부 저장소를 사용하기 위해 원격 저장소의 위치를 알려줍니다.
git remote add origin <Github Repository URL>
컴퓨터에서 변경된 사항을 Github에 반영하기 위해서는 다음 명령어를 실행합니다.
git push origin master
코드
수정한 코드는 서론에 첨부된 Github 사이트를 참고하시길 바랍니다.
실행 결과
GitHub - jschang0215/OS-Tutorial: OS Tutorial from https://github.com/cfenollosa/os-tutorial
OS Tutorial from https://github.com/cfenollosa/os-tutorial - GitHub - jschang0215/OS-Tutorial: OS Tutorial from https://github.com/cfenollosa/os-tutorial
github.com
약 한달간 Bootsector 부터 시작해 Shell 까지 작동하는 OS를 직접 만들고 블로그에 정리하면서 정말 많은 것들을 배울 수 있었습니다. 지금까지 OS from Scartch 튜토리얼을 봐주셔서 감사합니다!
'OS > OS from Scratch' 카테고리의 다른 글
[OS] 22. Malloc (0) 2021.07.24 [OS] 21. Shell (0) 2021.07.23 [OS] 20. Interrupt-timer (0) 2021.07.18 [OS] 19. Interrupt-irqs (0) 2021.07.12 [OS] 18. Interrupts (0) 2021.07.03