image.png
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning (master)
$ ls -al
total 16
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:39 ./
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:36 ../
drwxr-xr-x 1 Administrator 197121 0 12月 11 10:32 .git/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:40 images/
-rw-r--r-- 1 Administrator 197121 1419 12月 11 00:09 index.html
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:57 js/
-rw-r--r-- 1 Administrator 197121 0 12月 10 22:47 readme.md
drwxr-xr-x 1 Administrator 197121 0 12月 11 00:17 styles/
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning (master)
$ cd .git
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git (GIT_DIR!)
$ ls -al
total 24
drwxr-xr-x 1 Administrator 197121 0 12月 11 10:32 ./
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:39 ../
-rw-r--r-- 1 Administrator 197121 24 12月 11 09:41 COMMIT_EDITMSG
-rw-r--r-- 1 Administrator 197121 175 12月 11 10:32 config
-rw-r--r-- 1 Administrator 197121 73 12月 10 22:33 description
-rw-r--r-- 1 Administrator 197121 23 12月 10 22:33 HEAD
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:33 hooks/
-rw-r--r-- 1 Administrator 197121 626 12月 11 09:41 index
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:33 info/
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:49 logs/
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:41 objects/
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:33 refs/
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git (GIT_DIR!)
$ cd objects/
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects (GIT_DIR!)
$ ls -al
total 8
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:41 ./
drwxr-xr-x 1 Administrator 197121 0 12月 11 10:32 ../
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:49 32/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:58 34/
drwxr-xr-x 1 Administrator 197121 0 12月 11 00:18 43/
drwxr-xr-x 1 Administrator 197121 0 12月 11 00:19 44/
drwxr-xr-x 1 Administrator 197121 0 12月 11 00:19 45/
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:39 4b/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:51 59/
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:41 66/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:41 6a/
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:49 77/
drwxr-xr-x 1 Administrator 197121 0 12月 11 00:19 90/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:43 96/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:43 9c/
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:41 a6/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:58 ab/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:58 ae/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:58 b5/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:43 cb/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:41 da/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:51 e2/
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:48 e6/
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:47 ef/
drwxr-xr-x 1 Administrator 197121 0 12月 11 00:18 f6/
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:33 info/
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:33 pack/
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects (GIT_DIR!)
$ cd e6
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e6 (GIT_DIR!)
$ ls -al
total 5
drwxr-xr-x 1 Administrator 197121 0 12月 10 22:48 ./
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:41 ../
-r--r--r-- 1 Administrator 197121 15 12月 10 23:58 9de29bb2d1d6434b8b29ae775ad8c2e48c5391
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e6 (GIT_DIR!)
$ git cat-file -t 9de29bb2d1d6434b8b29ae775ad8c
fatal: Not a valid object name 9de29bb2d1d6434b8b29ae775ad8c
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e6 (GIT_DIR!)
$ git cat-file -t 9de29bb2d1d6434b8b29ae775ad8c
fatal: Not a valid object name 9de29bb2d1d6434b8b29ae775ad8c
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e6 (GIT_DIR!)
$ git cat-file -t 9de29bb2d1d6434b8b29ae775ad8c2e48c5391
fatal: Not a valid object name 9de29bb2d1d6434b8b29ae775ad8c2e48c5391
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e6 (GIT_DIR!)
$ git cat-file -t 9de29bb2d1d6434b8b29a
fatal: Not a valid object name 9de29bb2d1d6434b8b29a
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e6 (GIT_DIR!)
$ cd e2
bash: cd: e2: No such file or directory
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e6 (GIT_DIR!)
$ cd ..
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects (GIT_DIR!)
$ cd e2
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e2 (GIT_DIR!)
$ ls -al
total 5
drwxr-xr-x 1 Administrator 197121 0 12月 10 23:51 ./
drwxr-xr-x 1 Administrator 197121 0 12月 11 09:41 ../
-r--r--r-- 1 Administrator 197121 153 12月 10 23:51 7a05725b274c3a4c7e5db34d36822a2abc98f9
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e2 (GIT_DIR!)
$ git cat-file -t 7a05725b274c3a4c7e5db34d36822a2abc98f9
fatal: Not a valid object name 7a05725b274c3a4c7e5db34d36822a2abc98f9
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e2 (GIT_DIR!)
$ git cat-file -p 7a05725b274c3a4c7e5db34d36822a2abc98f9
fatal: Not a valid object name 7a05725b274c3a4c7e5db34d36822a2abc98f9
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e2 (GIT_DIR!)
$ git cat-file -t 7a05725b274c3a4c7e5db34d36822a2abc98f9
fatal: Not a valid object name 7a05725b274c3a4c7e5db34d36822a2abc98f9
Administrator@WIN-KF4CHDSKKH5 MINGW64 ~/Desktop/git-learning/git_learning/.git/objects/e2 (GIT_DIR!)$
网友评论