git cat-file -p명령으로 해당 SHA-1 값의 내용을 조회한다. $ git cat-file -p 9585191f37f7b0fb9444f35a9bf50de191beadc2 object 1a410efbd13591db07496601ebc7a059dd55cfe9 type commit tag v1.1 tagger Scott Chacon <schacon@gmail.com> Sat May 23 16:48:58 2009 ...
[main (root-commit) 6f77fc3] add diff test file 1 file changed, 1 insertion(+) create mode 100644 diff_test.txt 이 시점에서 git diff를 실행하면 출력되는 결과가 없을 것입니다. 리포지토리에 diff를 수행할 변경 사항이 ...
$ git log -1 commit 95e0222ba6399739834380eb10afcd73e0670bc5 Author: ben <ben@0b684db3-b064-4277-89d1-21af03df0a68> Date: Thu Jul 24 03:08:36 2014 +0000 Adding git-svn instructions to the README git-svn-id: file:///tmp/test-svn/trunk@77 0b684db3-b064-4277-89d1-21af0...
예를 들어, 다음 스크립트는 사용자가 이전 섹션에서prepare-commit-msg후크가 자동으로 생성한ISSUE-[#]문자열을 삭제하지 않았는지 확인합니다. #!/usr/bin/env pythonimport sys, os, re from subprocess import ...
(see also: git help revisions) bisect Use binary search to find the commit that introduced a bug grep Print lines matching a pattern log Show commit logs show Show various types of objects status Show the working tree status grow, mark and tweak your common history branch List, create, or...
git config 명령어를 사용하면 코드 변경분을 커밋(commit)할 때 어떤 사용자 이름과 이메일로 남길지를 설정할 수 있습니다. 사용자 이름과 이메일은 각각 user.name과 user.email을 설정 이름...
Latest commit devxb release: 0.9.6 (#198) 8c016d5· Dec 9, 2024 History452 Commits .github feat: CODEOWNERS 지정 Oct 20, 2024 .idea build: project setup Apr 3, 2024 docs feat: 🎄rabbit - brown rudolph costume Dec 3, 2024...
HEAD : 현재 브랜치를 가리키는 포인터이며, 커밋 중 가장 마지막 커밋을 가리킨다 git commit --amend : 메시지만 잘못 입력한 경우에는 메시지를 수정할 수 있다. reset : 시간을 아예 과...
$ git show [commit] 특정 커밋에 포함된 변경 사항과 메타데이터를 표시합니다 커밋 되돌리기 실수한 내용을 지우고 기록을 바꿉니다 $ git reset [commit] 현재 파일의 변경 사항은 그대로 ...
new commit# 4. feature-branch에서 new commit 커밋 생성6e3a608 (master) HEAD@{1}: checkout: moving from master to feature-branch# 3. 브랜치 변경6e3a608 (master) HEAD@{2}: commit: test2# 2. master branch에 test2 커밋 생성b2f3c96 HEAD@{3}: commit (init...