gitk
을 실행하면 "여기 GIT 저장소를 찾을 수 없습니다"라는 Tk 창이 팝업됩니다.
내가 무엇이 누락 되었습니까? 이것이 내가 따라야 할 단계들입니다. 어리석은 뭔가를 놓친다면 용서해주십시오.gitk에서 GIT 저장소를 찾을 수 없습니다.
[~/TEMP]$ ls
[~/TEMP]$ git init abc
Initialized empty Git repository in /*******/home/jganhotra/TEMP/abc/.git/
는 파일
은이이 일을해야[abc]$ git status
# On branch master
nothing to commit (working directory clean)
[abc]$ git log
commit 1ff1051370dfb69a0e85a60f322da7389366db8b
Author: Jatin Kumar Ganhotra <[email protected]******.com>
Date: Mon Aug 13 19:10:38 2012 +0530
Added file
[abc]$ gitk
[abc]$ which gitk
gitk: aliased to /*******/tools/install/git-tools/git-1.7.11.2/bin/gitk
[abc]$ ls -la /******/tools/install/git-tools/git-1.7.11.2/bin/gitk
-rwxr-x--- 1 devadmin eng 329597 Jul 17 17:43 /*******/tools/install/git-tools/git-1.7.11.2/bin/gitk
커밋 제작
[~/TEMP]$ cd abc/
[~/TEMP]$ ls -la
total 16
drwxr-x--- 3 jganhotra eng 4096 Aug 15 16:05 ./
drwxr-x--- 3 jganhotra eng 4096 Aug 15 16:04 ../
drwxr-x--- 8 jganhotra eng 4096 Aug 15 16:05 .git/
[abc]$ touch a.txt
[abc]$ gvim a.txt
[abc]$ git status
# On branch master
#
# Initial commit
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# a.txt
nothing added to commit but untracked files present (use "git add" to track)
[abc]$ git add .
[abc]$ git commit -m "Added file"
[master (root-commit) 1ff1051] Added file
1 file changed, 1 insertion(+)
create mode 100644 a.txt
을 추가했습니다. 나는 무엇을 놓쳤는가? 나는 의존성이 남아 있다고 생각한다.
게시물의'abc /'디렉토리에있을 때'ls -la'의 출력을 추가하십시오. – JJD
'ls -la' 출력을 추가했습니다. 그리고 예 .git 디렉토리와 그 기능에 대해 알고 있습니다. 그리고 거기에 있습니다. –
내 생각 엔 gitk에 필자가 설치하지 않은 내부 의존성이 있다고 생각합니다. –