初心者です。Git、GitHubの学習をしています。
OSはWindows10、テキストエディタはVSCodeを利用しています。
デスクトップ上に新規でディレクトリを作成しました。名前を「github」にしました。
このディレクトリを選択し右クリックからVSCodeを開きます。
するとまだ「git init」をかけていないのにこのディレクトリは既にgitで管理されています。
ためしに「git status」コマンドを打つと
terminal
1warning: could not open directory 'Application Data/': Permission denied 2warning: could not open directory 'Cookies/': Permission denied 3warning: could not open directory 'Local Settings/': Permission denied 4warning: could not open directory 'My Documents/': Permission denied 5warning: could not open directory 'NetHood/': Permission denied 6warning: could not open directory 'PrintHood/': Permission denied 7warning: could not open directory 'Recent/': Permission denied 8warning: could not open directory 'SendTo/': Permission denied 9warning: could not open directory 'Templates/': Permission denied 10warning: could not open directory 'スタート メニュー/': Permission denied 11On branch master 12 13No commits yet 14 15Untracked files: 16 (use "git add <file>..." to include in what will be committed) 17 ../../.bash_history 18 ../../.bash_profile 19 ../../.bashrc 20 ../../.gitconfig 21 ../../.lesshst 22 ../../.oh-my-bash/ 23 ../../.osh-update 24 ../../.sdirs 25 ../../.vscode/ 26 ../../3D Objects/ 27 ../../AppData/ 28 ../../Apple/ 29 ../../Contacts/ 30 ../ 31 ../../Documents/ 32 ../../Downloads/ 33 ../../Favorites/ 34 ../../Links/ 35 ../../MicrosoftEdgeBackups/ 36 ../../Music/ 37 ../../NTUSER.DAT 38 ../../NTUSER.DAT{53b39e87-18c4-11ea-a811-000d3aa4692b}.TxR.0.regtrans-ms 39 ../../NTUSER.DAT{53b39e87-18c4-11ea-a811-000d3aa4692b}.TxR.1.regtrans-ms 40 ../../NTUSER.DAT{53b39e87-18c4-11ea-a811-000d3aa4692b}.TxR.2.regtrans-ms 41 ../../NTUSER.DAT{53b39e87-18c4-11ea-a811-000d3aa4692b}.TxR.blf 42 ../../NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TM.blf 43 ../../NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TMContainer00000000000000000001.regtrans-ms 44 ../../NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TMContainer00000000000000000002.regtrans-ms 45 ../../OneDrive/ 46 ../../Pictures/ 47 ../../Saved Games/ 48 ../../Searches/ 49 ../../Videos/ 50 ../../ntuser.dat.LOG1 51 ../../ntuser.dat.LOG2 52 ../../ntuser.ini 53 ../../wsl
と空のはずなのにたくさんのファイル等が出てきます。
さらに以下のようなエラーメッセージがでます。
これはどういう状態なのでしょうか?
別の端末(Windows11)を使って同様の手順を踏んでも完全に空のディレクトリとして操作できます。
原因や解決方法がわかる方いらっしゃいましたら教えてください。
よろしくお願いいたします。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2022/01/15 07:26
2022/01/15 08:01