본문 바로가기

전체 글195

Git #3 Revert, reset and restore Git Theory - 3 - revert, reset and restore This part of Git series covers checkout, revert, reset and restore bobbydreamer.com 우리가 실생활에서 컴퓨터를 사용할 때 undo, redo를 자주 하듯이 git도 이를 지원한다. (redo가 ctrl + y인지 처음 알았는데 잘 써먹어야지) 이를 위한 명령어 종류는 그리 많지 않은데 case 설명이 길다. git checkout 1. index/staging 상태로 working directory를 업데이트 한다. 2. HEAD를 다른 branch나 commit으로 옮긴다. 여기서는 기능 1을 사용하는 방법에 대해서만 설명하였다. git checkout -- f.. 2022. 12. 30.
Git #2 Basics Git Theory - 2 - Basics This part of Git series covers the basics like config, init, add, rm, .gitignore, commit, log, blame, diff, tag, describe, show and stash bobbydreamer.com 이번에는 local repository 안에서의 operation에 대해 다룬다. (basic이라기에는 너무 방대한 것 같은데;;) git help [-a | command (e.g. add, commit) | everyday] Command를 설명해주는 command 이다. 특히 'git help everyday'는 일반적으로 자주 쓰이는 command에 대한 manual을 web에 띄워.. 2022. 12. 29.
Git #1 Origins story and terms Git 공부를 위해 자료를 찾던 중 좋은 article이 있어서 올려본다. Git Theory - 1 - Origins story and terms This part of Git series covers origins - How it all started bobbydreamer.com 2005년에 갓갓 Linus Torvalds가 Linux Kernel 개발을 위해서 새로운 version control system을 고안하게 되었고 Git을 만들게 된다. 소프트웨어의 변화를 추적하여 수정을 되돌리거나 개발자들간의 협업을 용이하도록 만드는 tool이다. (변화를) 추적하는 모든 파일들을 한데 묶어 object라 하며 각 object는 유일한 hasn id를 가진다. 그리고 그 object들은 Directe.. 2022. 12. 27.
오늘의 일기 보호되어 있는 글 입니다. 2022. 12. 25.