DrawingProcess
λ“œν”„ DrawingProcess
DrawingProcess
전체 방문자
였늘
μ–΄μ œ
Β«   2025/05   Β»
일 μ›” ν™” 수 λͺ© 금 ν† 
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
  • λΆ„λ₯˜ 전체보기 (964)
    • Profile & Branding (22)
      • Career (15)
    • IT Trends (254)
      • Conference, Faire (Experien.. (31)
      • News (187)
      • Youtube (19)
      • TED (8)
      • Web Page (2)
      • IT: Etc... (6)
    • Contents (97)
      • Book (66)
      • Lecture (31)
    • Project Process (94)
      • Ideation (0)
      • Study Report (34)
      • Challenge & Award (22)
      • 1Day1Process (5)
      • Making (5)
      • KRC-FTC (Team TC(5031, 5048.. (10)
      • GCP (GlobalCitizenProject) (15)
    • Study: ComputerScience(CS) (72)
      • CS: Basic (9)
      • CS: Database(SQL) (5)
      • CS: Network (14)
      • CS: OperatingSystem (3)
      • CS: Linux (39)
      • CS: Etc... (2)
    • Study: Software(SW) (95)
      • SW: Language (29)
      • SW: Algorithms (1)
      • SW: DataStructure & DesignP.. (1)
      • SW: Opensource (15)
      • SW: Error Bug Fix (43)
      • SW: Etc... (6)
    • Study: Artificial Intellige.. (149)
      • AI: Research (1)
      • AI: 2D Vision(Det, Seg, Tra.. (35)
      • AI: 3D Vision (70)
      • AI: MultiModal (3)
      • AI: SLAM (0)
      • AI: Light Weight(LW) (3)
      • AI: Data Pipeline (7)
      • AI: Machine Learning(ML) (1)
    • Study: Robotics(Robot) (33)
      • Robot: ROS(Robot Operating .. (9)
      • Robot: Positioning (8)
      • Robot: Planning & Control (7)
    • Study: DeveloperTools(DevTo.. (83)
      • DevTool: Git (12)
      • DevTool: CMake (13)
      • DevTool: NoSQL(Elastic, Mon.. (25)
      • DevTool: Container (17)
      • DevTool: IDE (11)
      • DevTool: CloudComputing (4)
    • 인생을 μ‚΄λ©΄μ„œ (64)
      • λ‚˜μ˜ μ·¨λ―Έλ“€ (7)
      • λ‚˜μ˜ 생각듀 (42)
      • 여행을 λ– λ‚˜μž~ (10)
      • 뢄기별 회고 (5)

개발자 λͺ…μ–Έ

β€œ λ§€μ£Ό λͺ©μš”μΌλ§ˆλ‹€ 당신이 항상 ν•˜λ˜λŒ€λ‘œ μ‹ λ°œλˆμ„ 묢으면 μ‹ λ°œμ΄ ν­λ°œν•œλ‹€κ³  생각해보라.
컴퓨터λ₯Ό μ‚¬μš©ν•  λ•ŒλŠ” 이런 일이 항상 μΌμ–΄λ‚˜λŠ”λ°λ„ 아무도 λΆˆν‰ν•  생각을 μ•ˆ ν•œλ‹€. ”

- Jef Raskin

λ§₯의 아버지 - μ• ν”Œμ»΄ν“¨ν„°μ˜ λ§€ν‚¨ν† μ‹œ ν”„λ‘œμ νŠΈλ₯Ό 주도

인기 κΈ€

졜근 κΈ€

졜근 λŒ“κΈ€

ν‹°μŠ€ν† λ¦¬

hELLO Β· Designed By μ •μƒμš°.
DrawingProcess

λ“œν”„ DrawingProcess

Study: DeveloperTools(DevTool)/DevTool: Git

[Git] Commit λ©”μ‹œμ§€ κ°€μ΄λ“œλΌμΈ

2022. 7. 4. 22:47
λ°˜μ‘ν˜•
πŸ’‘ λ³Έ λ¬Έμ„œλŠ” 'Git Commit λ©”μ‹œμ§€ κ°€μ΄λ“œλΌμΈ'에 λŒ€ν•΄ 정리해놓은 κΈ€μž…λ‹ˆλ‹€.
Git Commit μƒ˜ν”Œμ„ ν¬ν•¨ν•˜μ—¬ κ°€μ΄λ“œλΌμΈμ„ μ œμ‹œν•΄λ†“μ•˜μœΌλ©°, λ°˜λ“œμ‹œ λ”°λ₯΄μ§€ μ•Šμ•„λ„ λ¬΄λ°©ν•˜λ‹ˆ μ°Έκ³ ν•˜μ‹œκΈ° λ°”λžλ‹ˆλ‹€.

μƒ˜ν”Œ 컀밋 λ©”μ‹œμ§€ μ˜ˆμ‹œ(μ˜ˆμ‹œλŠ” ν•œκΈ€λ‘œ μž‘μ„±λ˜μ—ˆμœΌλ‚˜ 컀밋은 가급적 μ˜μ–΄λ‘œ μž‘μ„±ν•˜μ‹œμ˜€):

72자 μ΄λ‚΄μ˜ 짧은 μš”μ•½

더 μƒμ„Έν•œ μ„€λͺ…을 μ λŠ”λ‹€. 72자 μ΄λ‚΄μ˜ 짧은 μš”μ•½μ„ 첫 쀄에 적은 λ’€ 
빈 쀄을 ν•˜λ‚˜ μ‚½μž…ν•˜κ³ , κ·Έ λ‹€μŒμ— μƒμ„Έν•œ μ„€λͺ…을 적도둝 ν•œλ‹€.
μš”μ•½λ§ŒμœΌλ‘œ μΆ©λΆ„ν•œ 경우 μƒμ„Έν•œ μ„€λͺ…은 적지 μ•Šμ•„λ„ μ’‹λ‹€.

컀밋 λ©”μ‹œμ§€λŠ” λͺ…λ Ήν˜•μœΌλ‘œ 적도둝 ν•œλ‹€: Fix bug 라고 적으라. 
Fixed bug, Fixes bug 등은 μ‚¬μš©ν•˜μ§€ μ•Šλ„λ‘ ν•œλ‹€.
μ΄λŠ” 컀밋 λ©”μ‹œμ§€κ°€ git merge ν˜Ήμ€ git revert λ“±μœΌλ‘œ μƒμ„±λ˜λŠ” 컀밋 λ©”μ‹œμ§€μ™€
μ»¨λ²€μ…˜μ΄ μΌμΉ˜ν•˜λ„λ‘ ν•˜κΈ° μœ„ν•¨μ΄λ‹€.

단락 ꡬ뢄은 빈 쀄을 μ‚½μž…ν•˜μ—¬ ν•  수 μžˆλ‹€.

- μ΄λ ‡κ²Œ 리슀트λ₯Ό ν‘œκΈ°ν•˜μ—¬λ„ μ’‹λ‹€
- λ¦¬μŠ€νŠΈλŠ” ν•˜μ΄ν”ˆ(-) ν˜Ήμ€ λ³„ν‘œ(*)λ₯Ό 톡해 μž‘μ„±ν•˜λΌ

쒋은 컀밋 λ©”μ‹œμ§€λŠ” λ‹€μŒ λ¬Έμž₯에 듀어갔을 λ•Œ λ¬Έλ²•μ μœΌλ‘œ λ§žμ•„μ•Ό ν•œλ‹€:

If applied, this commit will <your subject line here>

쒋은 컀밋 λ©”μ‹œμ§€λ₯Ό μž‘μ„±ν•˜κΈ° μœ„ν•œ κ·œμΉ™

  • Separate subject from body with a blank line
  • Do not end the subject line with a period
  • Capitalize the subject line and each paragraph
  • Use the imperative mood in the subject line
  • Wrap lines at 72 characters
  • Use the body to explain what and why you have done something. In most cases, you can leave out details about how a change has been made.

컀밋 λ©”μ‹œμ§€κ°€ 포함해야 ν•˜λŠ” 정보

  • Describe why a change is being made.
  • How does it address the issue?
  • What effects does the patch have?
  • Do not assume the reviewer understands what the original problem was.
  • Do not assume the code is self-evident/self-documenting.
  • Read the commit message to see if it hints at improved code structure.
  • The first commit line is the most important.
  • Describe any limitations of the current code.
  • Do not include patch set-specific comments.

더 λ§Žμ€ 정보와 μ˜ˆμ‹œλŠ” λ‹€μŒ 링크λ₯Ό μ°Έμ‘°ν•˜μ‹œμ˜€: GitCommitMessages - OpenStack

컀밋 λ©”μ‹œμ§€μ— 링크, 레퍼런슀λ₯Ό λ„£λŠ” 법

컀밋이 λ§ν¬λ‚˜ 이슈λ₯Ό 포함해야 ν•œλ‹€λ©΄, 컀밋 λ©”μ‹œμ§€μ˜ ν—€λ”λ‚˜ 본문에 μ‚½μž…ν•  수 μžˆλ‹€. 지라 등을 μ‚¬μš©ν•˜λŠ” 경우 Jirafy 와 같은 도ꡬλ₯Ό μ‚¬μš©ν•˜μ—¬ 짧은 번호λ₯Ό μ΄μŠˆμ— λ§€μΉ­μ‹œν‚¬ 수 μžˆλ‹€.

헀더 μ˜ˆμ‹œ:

[#123] 깃헙은 #123만으둜 μ΄μŠˆμ— 맀칭이 λœλ‹€…

CAT-123 같은 방식은 Jira 이슈 맀칭용으둜 μ‚¬μš©ν•˜κΈ° μ’‹λ‹€…

λ³Έλ¬Έ μ˜ˆμ‹œ:

…
Fixes #123, #124

+ 병합(merge) μ •μ±…

main 브랜치의 직접 μˆ˜μ •μ€ κΈˆμ§€ν•˜λ©°, 각 λΈŒλžœμΉ˜λŠ” ν’€ λ¦¬ν€˜μŠ€νŠΈ(pull request) 생성 ν›„ λ³‘ν•©ν•©λ‹ˆλ‹€.

κ°œλ³„ κ°œλ°œμžλŠ” ν’€ λ¦¬ν€˜μŠ€νŠΈ ν›„ μ½”λ“œλ¦¬λ·°λ₯Ό μš”μ²­ν•  수 있으며, μ½”λ“œλ¦¬λ·°κ°€ ν•„μš”μ—†λŠ” 경우 직접 병합할 수 μžˆμŠ΅λ‹ˆλ‹€. 그리고 λ³‘ν•©λœ λΈŒλžœμΉ˜λŠ” μ‚­μ œ(delete)ν•˜λŠ” 것을 μ›μΉ™μœΌλ‘œ ν•©λ‹ˆλ‹€.

μΆ”κ°€λ‘œ, 병합 ν›„ 문제λ₯Ό λ°©μ§€ν•˜κ³ μž mergeμ‹œ 각 λΈŒλ ŒμΉ˜μ— main을 λ¨Έμ§€ν•œ ν›„ λ¬Έμ œκ°€ μ—†λŠ” 것을 확인 ν›„ 이λ₯Ό λ‹€μ‹œ main에 λ¨Έμ§€ν•˜λŠ” μž‘μ—…μ„ μ§„ν–‰ν•˜λ©΄ μ’‹μŠ΅λ‹ˆλ‹€.

μ°Έκ³ 

  • [Blog] tbaggery - A Note About Git Commit Messages: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
  • [Blog] GitCommitMessages - OpenStack: https://wiki.openstack.org/wiki/GitCommitMessages
  • [Blog] How to Write a Git Commit Message: http://chris.beams.io/posts/git-commit/
λ°˜μ‘ν˜•
μ €μž‘μžν‘œμ‹œ λΉ„μ˜λ¦¬ λ³€κ²½κΈˆμ§€ (μƒˆμ°½μ—΄λ¦Ό)

'Study: DeveloperTools(DevTool) > DevTool: Git' μΉ΄ν…Œκ³ λ¦¬μ˜ λ‹€λ₯Έ κΈ€

[Git] resetκ³Ό revert μ•Œκ³  μ‚¬μš©ν•˜κΈ°  (0) 2022.07.20
[Git] git tag & 버전 λ„˜λ²„λ§ κ·œμΉ™: git은 버전관리도ꡬ이닀!!  (0) 2022.07.06
[Git] ssh κ³΅κ°œν‚€ GitHub에 λ“±λ‘ν•˜κΈ° (feat. github, bitbucket)  (0) 2022.06.21
[Git] Git Personal Access Token λ°œκΈ‰ κ³Όμ •(사진 포함)!  (0) 2022.04.17
[Git] Git-Workflow, git 흐름을 μ‚΄νŽ΄λ³΄μž!  (0) 2022.02.24
    'Study: DeveloperTools(DevTool)/DevTool: Git' μΉ΄ν…Œκ³ λ¦¬μ˜ λ‹€λ₯Έ κΈ€
    • [Git] resetκ³Ό revert μ•Œκ³  μ‚¬μš©ν•˜κΈ°
    • [Git] git tag & 버전 λ„˜λ²„λ§ κ·œμΉ™: git은 버전관리도ꡬ이닀!!
    • [Git] ssh κ³΅κ°œν‚€ GitHub에 λ“±λ‘ν•˜κΈ° (feat. github, bitbucket)
    • [Git] Git Personal Access Token λ°œκΈ‰ κ³Όμ •(사진 포함)!
    DrawingProcess
    DrawingProcess
    과정을 그리자!

    ν‹°μŠ€ν† λ¦¬νˆ΄λ°”