Skip to content

Commit 5bbbbdb

Browse files
committed
git brnchのoutputを分離
1 parent ecfca5e commit 5bbbbdb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/3-web-servers/12-github/index.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ gitGraph
142142

143143
まずは、現在いるブランチを確認してみましょう。ターミナルで`git branch`コマンドを実行してください。
144144

145+
```shell
146+
$ git branch
147+
```
148+
145149
```shell
146150
$ git branch
147151
* main
@@ -157,6 +161,11 @@ git switch -c 新しいブランチ名
157161

158162
現在いるブランチを確認すると、`*`が移動しているはずです。
159163

164+
```shell
165+
$ git branch
166+
```
167+
168+
160169
```shell
161170
$ git branch
162171
* 新しいブランチ名

0 commit comments

Comments
 (0)