Logo CodeXlog
  • Home
  • About
  • Recent Posts
  • 게시글
  • Tags
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • 태그
  • Airline
  • Algorithms
  • Ansible
  • Arithmetic
  • Array
  • Autojump
  • AWS
  • Backjoon
  • Bublesort
  • C
  • CentOS
  • Deep-Learning
  • Django
  • Embeded
  • Embeded-System
  • Git
  • Git Bash
  • Github
  • GitLab
  • Hugo
  • Hugo-Toha Theme
  • Hydejack Theme
  • IaC
  • Jekyll
  • Level 17
  • Level 4
  • Loop
  • MacOS
  • Manual
  • Math
  • MinGW
  • Online-Judge
  • OpenCV
  • OS
  • Pattern
  • Prime Number
  • Programming Tips
  • Python
  • RHEL
  • Scanf
  • Sort
  • String
  • Study
  • System-Programming
  • Tensor-Flow
  • Terrafrom
  • Theory
  • Ubuntu
  • Upgrade
  • Vim
  • Window
  • 비교분석
  • 초기설정
Hero Image
Git Manual

Pre-commit Pre Commit의 동작은 Commit이 이루어지는 시점에 Commit이 완료 되기전에 해당 스크립트가 실행되는 방식입니다. $ git init 혹은 저장소를 Clone받게 되면 경로에 .git/hooks 내부에 다양한 Hook이 있는걸 확인 할 수 있습니다. Pre Commit을 사용하는 두 가지 방법이 있습니다. 상세하게 따져본다면 git hook을 사용하는것은 동일하나, 이를 관리하는 방법이 조금 상이합니다. Pre Commit을 사용하는 이유는 몇가지가 있지만, 가장 큰 목적은 동료와의 협업, Commit 관리, 오류 방지 등이 있다고 생각합니다. 예를 들어 Lint, Syntex Error 등이 해당 될 듯 합니다.

  • Git
  • Github
  • Manual
2018년 5월 18일 금요일 | 3
바로가기
  • About
  • Recent Posts
  • Tags
Contact me:
  • codex.devlab@gmail.com
  • ehdwn1991
  • Codex

책임 고지: This theme is under MIT license. So, you can use it for non-commercial, commercial, or private uses. You can modify or distribute the theme without requiring any permission from the theme author. However, the theme author does not provide any warranty or takes any liability for any issue with the theme.