File tree Expand file tree Collapse file tree 3 files changed +1
-34
lines changed
Expand file tree Collapse file tree 3 files changed +1
-34
lines changed Original file line number Diff line number Diff line change @@ -73,36 +73,15 @@ git init
7373
7474:::tip[ ` .git ` ディレクトリ]
7575
76- Gitの管理下に置かれたディレクトリには` .git ` という名前のディレクトリが生成されます。このディレクトリには過去のコミットの履歴など、Gitが内部的に使用するファイルが格納されます。誤ったディレクトリで` git init ` コマンドを実行してしまった場合、このディレクトリを削除しましょう。
77-
78- なお、ピリオドから始まるディレクトリやファイルは` ls ` コマンドでは表示されません。
79-
80- ``` shell
81- $ ls
82- ```
83-
84- ` ls ` コマンドに` -a ` というオプションをつけないと表示できないので注意が必要です。
85-
86- ``` shell
87- ls -a
88- ```
76+ Gitの管理下に置かれたディレクトリには` .git ` という名前のディレクトリが生成されます。このディレクトリには過去のコミットの履歴など、Gitが内部的に使用するファイルが格納されます。誤ったディレクトリで` git init ` コマンドを実行してしまった場合、このディレクトリを削除しましょう。なお、ピリオドから始まるディレクトリやファイルは` ls ` コマンドに` -a ` というオプションをつけないと表示できないので注意が必要です。また、VS Code上でも` .git ` ディレクトリはデフォルトでは表示されません。
8977
9078``` shell
9179$ ls -a
9280. .. .git
93- ```
94-
95- ``` bash
96- $ ls .git
97- ```
98-
99- ``` shell
10081$ ls .git
10182branches config description HEAD hooks info objects refs
10283```
10384
104- また、VS Code上でも` .git ` ディレクトリはデフォルトでは表示されません。
105-
10685:::
10786
10887### 変更をステージする
Original file line number Diff line number Diff line change @@ -142,10 +142,6 @@ gitGraph
142142
143143まずは、現在いるブランチを確認してみましょう。ターミナルで` git branch ` コマンドを実行してください。
144144
145- ``` shell
146- $ git branch
147- ```
148-
149145``` shell
150146$ git branch
151147* main
@@ -161,10 +157,6 @@ git switch -c 新しいブランチ名
161157
162158現在いるブランチを確認すると、` * ` が移動しているはずです。
163159
164- ``` shell
165- $ git branch
166- ```
167-
168160``` shell
169161$ git branch
170162* 新しいブランチ名
Original file line number Diff line number Diff line change @@ -74,10 +74,6 @@ Vite内蔵のウェブサーバーが起動し、`http://localhost:5173/`でウ
7474
7575Viteの挙動を理解するため、<kbd >Ctrl</kbd > + <kbd >C</kbd > (Windows) / <kbd >control</kbd > + <kbd >C</kbd > (macOS) で先ほど起動させたウェブサーバーを停止させ、` npm run build ` コマンドを実行してみましょう。
7676
77- ``` shell
78- $ npm run build
79- ```
80-
8177``` shell
8278$ npm run build
8379> vite@0.0.0 build
You can’t perform that action at this time.
0 commit comments