개발 Dev 21

좋은 커밋, 좋은 커밋 메시지Git commit message는 어떤 것일까?

깃Git을 쓰고 커밋commit을 할 때 메시지를 적는다. 메시지를 어떻게 적어야 할까? 커밋 메시지는 훌륭한 협업자를 판단하는 기준 "a commit message shows whether a developer is a good collaborator." - Peter Hutterer. (출처: On commit messages) "커밋 메시지는 개발자가 훌륭한 협업자인지 여부를 보여준다." 말로 훌륭한 협업자라고 주장해봤자 의미는 없다. 언제나 말보다 실제가 중요하니까. 결국 커밋 메시지를 잘 적어야 다른 사람들에게 훌륭한 협업자로 인정받을 수 있게 된다. Peter Hutterer의 주장을 좀 더 살펴보자. (출처: On commit messages) A good commit message shou..

개발 Dev/깃 Git 2021.03.11

git에 이미 추가했던 파일을 더 이상 추적하지 않아 저장소에 저장되지 않도록 하면서, 파일은 남겨 두고 싶다면?

git -rm 을 사용하면 된다 예를 들어 app.yaml 파일이 이미 git에 추가된 상태이다. app.yaml 파일을 삭제하지 않고 남겨 두면서 git에서 추적되지 않게 하고 싶다. .gitignore 파일에 뒤늦게 app.yaml을 추가해도 이미 추가했던 파일이면 적용되지 않는다. 1) git -rm app.yaml 이렇게 하면 app.yaml 파일이 삭제된다. 2) git -rm --cached app.yaml 이렇게 하면 app.yaml 파일이 삭제되지 않고 남아 있다. 더 이상 git에서 추적되지 않게 된다. --cached Use this option to unstage and remove paths only from the index. Working tree files, whether mo..

개발 Dev/깃 Git 2021.01.27

애자일 소프트웨어 개발(agile software development)이란?

애자일agile 뜻은? agile은 사전을 찾아보면 '민첩한, 명민한, 기민한, 재빠른'의 뜻을 가진 형용사이다. 영영사전에 나온 뜻은 'moving quickly and lightly'이다. 애자일 소프트웨어 개발이란? 가볍고 빠르게 개발하자는 의미라고 볼 수 있다. 가장 정확한 것은 애자일 소프트웨어 개발 선언문을 봐야 알 수 있다. Manifesto for Agile Software Development We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value: Individuals and interactions over p..

개발 Dev 2021.01.26