
⇧ 視点というか、仮説の域を出ていない気がしますな...
裏付けとなる根拠が欲しいところですな...
Gitのコマンドでbare repository対応・非対応の一覧が知りたいだけ
Wikipediaの情報によると、
⇧「Git」のコマンドが利用できる条件がありますと。
ネットの情報を漁っていた感じでは、
⇧ 上記サイト様によりますと、「Git」の「リポジトリ」を「ローカル」に持ってくる際の構造のパターンとしては、大きく4種類あるそうな。
で、ほとんどのケースにおいては、
- normal
- bare
のどちらかで扱うことになると思うのだが、「Git」のコマンドの対応状況が分からない...
とりあえず、
⇧ 上記の「command-list.txt」が「git」コマンドの全量と信じて、ChatGPT氏に、
- normal
- bare
で、
- 利用できる
- 利用できない
の観点で分類してもらうように質問したところ、以下のような回答が返ってきた。
| No | コマンド名 | カテゴリ | サブカテゴリ | Bare Repository | Non-Bare Repository |
|---|---|---|---|---|---|
| 1 | git-add | mainporcelain | worktree | ✖ | ✅ |
| 2 | git-am | mainporcelain | ✖ | ✅ | |
| 3 | git-annotate | ancillaryinterrogators | ✖ | ✅ | |
| 4 | git-apply | plumbingmanipulators | complete | ✖ | ✅ |
| 5 | git-archimport | foreignscminterface | ✖ | ✅ | |
| 6 | git-archive | mainporcelain | ✅ | ✅ | |
| 7 | git-backfill | mainporcelain | history | ✖ | ✅ |
| 8 | git-bisect | mainporcelain | info | ✅ | ✅ |
| 9 | git-blame | ancillaryinterrogators | complete | ✖ | ✅ |
| 10 | git-branch | mainporcelain | history | ✅ | ✅ |
| 11 | git-bugreport | ancillaryinterrogators | ✖ | ✅ | |
| 12 | git-bundle | mainporcelain | ✅ | ✅ | |
| 13 | git-cat-file | plumbinginterrogators | ✅ | ✅ | |
| 14 | git-check-attr | purehelpers | ✖ | ✅ | |
| 15 | git-check-ignore | purehelpers | ✖ | ✅ | |
| 16 | git-check-mailmap | purehelpers | ✖ | ✅ | |
| 17 | git-check-ref-format | purehelpers | ✖ | ✅ | |
| 18 | git-checkout | mainporcelain | ✅ | ✅ | |
| 19 | git-checkout-index | plumbingmanipulators | ✖ | ✅ | |
| 20 | git-cherry | plumbinginterrogators | complete | ✖ | ✅ |
| 21 | git-cherry-pick | mainporcelain | ✅ | ✅ | |
| 22 | git-citool | mainporcelain | ✖ | ✅ | |
| 23 | git-clean | mainporcelain | ✅ | ✅ | |
| 24 | git-clone | mainporcelain | init | ✅ | ✅ |
| 25 | git-column | purehelpers | ✖ | ✅ | |
| 26 | git-commit | mainporcelain | history | ✅ | ✅ |
| 27 | git-commit-graph | plumbingmanipulators | ✖ | ✅ | |
| 28 | git-commit-tree | plumbingmanipulators | ✖ | ✅ | |
| 29 | git-config | ancillarymanipulators | complete | ✅ | ✅ |
| 30 | git-count-objects | ancillaryinterrogators | ✖ | ✅ | |
| 31 | git-credential | purehelpers | ✖ | ✅ | |
| 32 | git-credential-cache | purehelpers | ✖ | ✅ | |
| 33 | git-credential-store | purehelpers | ✖ | ✅ | |
| 34 | git-cvsexportcommit | foreignscminterface | ✖ | ✅ | |
| 35 | git-cvsimport | foreignscminterface | ✖ | ✅ | |
| 36 | git-cvsserver | foreignscminterface | ✖ | ✅ | |
| 37 | git-daemon | synchingrepositories | ✅ | ✖ | |
| 38 | git-describe | mainporcelain | ✅ | ✅ | |
| 39 | git-diagnose | ancillaryinterrogators | ✖ | ✅ | |
| 40 | git-diff | mainporcelain | info | ✅ | ✅ |
| 41 | git-diff-files | plumbinginterrogators | ✖ | ✅ | |
| 42 | git-diff-index | plumbinginterrogators | ✖ | ✅ | |
| 43 | git-diff-pairs | plumbinginterrogators | ✖ | ✅ | |
| 44 | git-diff-tree | plumbinginterrogators | ✖ | ✅ | |
| 45 | git-difftool | ancillaryinterrogators | complete | ✖ | ✅ |
| 46 | git-fast-export | ancillarymanipulators | ✖ | ✅ | |
| 47 | git-fast-import | ancillarymanipulators | ✖ | ✅ | |
| 48 | git-fetch | mainporcelain | remote | ✅ | ✅ |
| 49 | git-fetch-pack | synchingrepositories | ✅ | ✅ | |
| 50 | git-filter-branch | ancillarymanipulators | ✖ | ✅ | |
| 51 | git-fmt-merge-msg | purehelpers | ✖ | ✅ | |
| 52 | git-for-each-ref | plumbinginterrogators | ✖ | ✅ | |
| 53 | git-for-each-repo | plumbinginterrogators | ✖ | ✅ | |
| 54 | git-format-patch | mainporcelain | ✅ | ✅ | |
| 55 | git-fsck | ancillaryinterrogators | complete | ✅ | ✅ |
| 56 | git-gc | mainporcelain | ✅ | ✅ | |
| 57 | git-get-tar-commit-id | plumbinginterrogators | ✖ | ✅ | |
| 58 | git-grep | mainporcelain | info | ✅ | ✅ |
| 59 | git-gui | mainporcelain | ✖ | ✅ | |
| 60 | git-hash-object | plumbingmanipulators | ✅ | ✅ | |
| 61 | git-help | ancillaryinterrogators | complete | ✅ | ✅ |
| 62 | git-hook | purehelpers | ✖ | ✅ | |
| 63 | git-http-backend | synchingrepositories | ✖ | ✅ | |
| 64 | git-http-fetch | synchelpers | ✖ | ✅ | |
| 65 | git-http-push | synchelpers | ✖ | ✅ | |
| 66 | git-imap-send | foreignscminterface | ✖ | ✅ | |
| 67 | git-index-pack | plumbingmanipulators | ✅ | ✅ | |
| 68 | git-init | mainporcelain | init | ✅ | ✅ |
| 69 | git-instaweb | ancillaryinterrogators | complete | ✖ | ✅ |
| 70 | git-interpret-trailers | purehelpers | ✖ | ✅ | |
| 71 | git-log | mainporcelain | info | ✅ | ✅ |
| 72 | git-ls-files | plumbinginterrogators | ✅ | ✅ | |
| 73 | git-ls-remote | plumbinginterrogators | ✅ | ✅ | |
| 74 | git-ls-tree | plumbinginterrogators | ✅ | ✅ | |
| 75 | git-mailinfo | purehelpers | ✖ | ✅ | |
| 76 | git-mailsplit | purehelpers | ✖ | ✅ | |
| 77 | git-maintenance | mainporcelain | ✖ | ✅ | |
| 78 | git-merge | mainporcelain | history | ✅ | ✅ |
| 79 | git-merge-base | plumbinginterrogators | ✖ | ✅ | |
| 80 | git-merge-file | plumbingmanipulators | ✖ | ✅ | |
| 81 | git-merge-index | plumbingmanipulators | ✖ | ✅ | |
| 82 | git-merge-one-file | purehelpers | ✖ | ✅ | |
| 83 | git-merge-tree | ancillaryinterrogators | ✖ | ✅ | |
| 84 | git-mergetool | ancillarymanipulators | complete | ✖ | ✅ |
| 85 | git-mktag | plumbingmanipulators | ✅ | ✅ | |
| 86 | git-mktree | plumbingmanipulators | ✅ | ✅ | |
| 87 | git-multi-pack-index | plumbingmanipulators | ✅ | ✅ | |
| 88 | git-mv | mainporcelain | worktree | ✅ | ✅ |
| 89 | git-name-rev | plumbinginterrogators | ✅ | ✅ | |
| 90 | git-notes | mainporcelain | ✅ | ✅ | |
| 91 | git-p4 | foreignscminterface | ✖ | ✅ | |
| 92 | git-pack-objects | plumbingmanipulators | ✅ | ✅ | |
| 93 | git-pack-redundant | plumbinginterrogators | ✅ | ✅ | |
| 94 | git-pack-refs | ancillarymanipulators | complete | ✅ | ✅ |
| 95 | git-patch-id | purehelpers | ✖ | ✅ | |
| 96 | git-prune | ancillarymanipulators | complete | ✅ | ✅ |
| 97 | git-prune-packed | plumbingmanipulators | ✅ | ✅ | |
| 98 | git-pull | mainporcelain | remote | ✅ | ✅ |
| 99 | git-push | mainporcelain | remote | ✅ | ✅ |
| 100 | git-quiltimport | foreignscminterface | ✖ | ✅ | |
| 101 | git-range-diff | mainporcelain | ✅ | ✅ | |
| 102 | git-read-tree | plumbingmanipulators | ✖ | ✅ | |
| 103 | git-rebase | mainporcelain | history | ✅ | ✅ |
| 104 | git-receive-pack | synchelpers | ✖ | ✅ | |
| 105 | git-reflog | ancillarymanipulators | complete | ✅ | ✅ |
| 106 | git-refs | ancillarymanipulators | complete | ✅ | ✅ |
| 107 | git-remote | ancillarymanipulators | complete | ✅ | ✅ |
| 108 | git-repack | ancillarymanipulators | complete | ✅ | ✅ |
| 109 | git-replace | ancillarymanipulators | complete | ✅ | ✅ |
| 110 | git-replay | plumbingmanipulators | ✖ | ✅ | |
| 111 | git-request-pull | foreignscminterface | complete | ✖ | ✅ |
| 112 | git-rerere | ancillaryinterrogators | ✖ | ✅ | |
| 113 | git-reset | mainporcelain | history | ✅ | ✅ |
| 114 | git-restore | mainporcelain | worktree | ✅ | ✅ |
| 115 | git-rev-list | plumbinginterrogators | ✅ | ✅ | |
| 116 | git-rev-parse | plumbinginterrogators | ✅ | ✅ | |
| 117 | git-revert | mainporcelain | ✅ | ✅ | |
| 118 | git-rm | mainporcelain | worktree | ✅ | ✅ |
| 119 | git-send-email | foreignscminterface | complete | ✖ | ✅ |
| 120 | git-send-pack | synchingrepositories | ✅ | ✅ | |
| 121 | git-sh-i18n | purehelpers | ✖ | ✅ | |
| 122 | git-sh-setup | purehelpers | ✖ | ✅ | |
| 123 | git-shell | synchelpers | ✖ | ✅ | |
| 124 | git-shortlog | mainporcelain | ✅ | ✅ | |
| 125 | git-show | mainporcelain | info | ✅ | ✅ |
| 126 | git-show-branch | ancillaryinterrogators | complete | ✖ | ✅ |
| 127 | git-show-index | plumbinginterrogators | ✅ | ✅ | |
| 128 | git-show-ref | plumbinginterrogators | ✅ | ✅ | |
| 129 | git-sparse-checkout | mainporcelain | ✅ | ✅ | |
| 130 | git-stage | complete | ✖ | ✅ | |
| 131 | git-stash | mainporcelain | ✅ | ✅ | |
| 132 | git-status | mainporcelain | info | ✅ | ✅ |
| 133 | git-stripspace | purehelpers | ✖ | ✅ | |
| 134 | git-submodule | mainporcelain | ✅ | ✅ | |
| 135 | git-svn | foreignscminterface | ✖ | ✅ | |
| 136 | git-switch | mainporcelain | history | ✅ | ✅ |
| 137 | git-symbolic-ref | plumbingmanipulators | ✅ | ✅ | |
| 138 | git-tag | mainporcelain | history | ✅ | ✅ |
| 139 | git-unpack-file | plumbinginterrogators | ✖ | ✅ | |
| 140 | git-unpack-objects | plumbingmanipulators | ✅ | ✅ | |
| 141 | git-update-index | plumbingmanipulators | ✅ | ✅ | |
| 142 | git-update-ref | plumbingmanipulators | ✅ | ✅ | |
| 143 | git-update-server-info | synchingrepositories | ✅ | ✅ | |
| 144 | git-upload-archive | synchelpers | ✅ | ✅ | |
| 145 | git-upload-pack | synchelpers | ✅ | ✅ | |
| 146 | git-var | plumbinginterrogators | ✅ | ✅ | |
| 147 | git-verify-commit | ancillaryinterrogators | ✖ | ✅ | |
| 148 | git-verify-pack | plumbinginterrogators | ✅ | ✅ | |
| 149 | git-verify-tag | ancillaryinterrogators | ✖ | ✅ | |
| 150 | git-version | ancillaryinterrogators | ✖ | ✅ | |
| 151 | git-whatchanged | ancillaryinterrogators | complete | ✖ | ✅ |
| 152 | git-worktree | mainporcelain | ✅ | ✅ | |
| 153 | git-write-tree | plumbingmanipulators | ✅ | ✅ | |
| 154 | gitattributes | userinterfaces | ✖ | ✅ | |
| 155 | gitcli | userinterfaces | ✖ | ✅ | |
| 156 | gitcore-tutorial | guide | ✖ | ✅ | |
| 157 | gitcredentials | guide | ✖ | ✅ | |
| 158 | gitcvs-migration | guide | ✖ | ✅ | |
| 159 | gitdiffcore | guide | ✖ | ✅ | |
| 160 | giteveryday | guide | ✖ | ✅ | |
| 161 | gitfaq | guide | ✖ | ✅ | |
| 162 | gitformat-bundle | developerinterfaces | ✖ | ✅ | |
| 163 | gitformat-chunk | developerinterfaces | ✖ | ✅ | |
| 164 | gitformat-commit-graph | developerinterfaces | ✖ | ✅ | |
| 165 | gitformat-index | developerinterfaces | ✖ | ✅ | |
| 166 | gitformat-pack | developerinterfaces | ✖ | ✅ | |
| 167 | gitformat-signature | developerinterfaces | ✖ | ✅ | |
| 168 | gitglossary | guide | ✖ | ✅ | |
| 169 | githooks | userinterfaces | ✖ | ✅ | |
| 170 | gitignore | userinterfaces | ✖ | ✅ | |
| 171 | gitk | mainporcelain | ✅ | ✅ | |
| 172 | gitmailmap | userinterfaces | ✖ | ✅ | |
| 173 | gitmodules | userinterfaces | ✖ | ✅ | |
| 174 | gitnamespaces | guide | ✖ | ✅ | |
| 175 | gitprotocol-capabilities | developerinterfaces | ✖ | ✅ | |
| 176 | gitprotocol-common | developerinterfaces | ✖ | ✅ | |
| 177 | gitprotocol-http | developerinterfaces | ✖ | ✅ | |
| 178 | gitprotocol-pack | developerinterfaces | ✖ | ✅ | |
| 179 | gitprotocol-v2 | developerinterfaces | ✖ | ✅ | |
| 180 | gitremote-helpers | guide | ✖ | ✅ |
う~む...
存在しないコマンドを捏造してくるあたり、本当に質が悪い...
「幻覚(ハルシネーション)」というか、悪意すら感じてしまうんだが...
「AI」のポンコツぶり何とかならんもんか...
まぁ、公式のドキュメントでマトリックス表を公開してくれれば苦労しないんだが...
結局のところ、ググるしかないんよな...
毎度モヤモヤ感が半端ない…
今回はこのへんで。






