Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

- [Virtual Boxをインストールしよう](virtual_box_install/README.md)

**Git編**

- [Gitをインストールしよう](git_install/README.md)


## Basic - 基礎

Expand Down Expand Up @@ -40,9 +44,12 @@

## Problem - 問題集

雑多な問題を置いてます。</br>※ ★は難易度(Difficult)です。
例★★☆☆☆ = Level 2
* [NAT 問題(★★☆☆☆)](nat/README.md)


### 編集環境

- VSCode
- Draw.io Integration プラグインを使用。
- Draw.io Integration プラグインを使用。
37 changes: 37 additions & 0 deletions git_install/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# GitをダウンロードしてGitHubを使ってみファイル管理をしてみよう01

## Windows
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ヘッダーの後は改行を入れた方が見た目が良くなります👈

1. まず,[Gitをインストール](https://git-scm.com/download/win)する
- ![](fig/dl_link.drawio.svg)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

リストに画像がひっついてるの違和感があります。文章以外には基本使わないです。

2. 64ビットをインストールしてください
3. ダウンロードした,installerを実行してください
4. next → next → ここでとまる
- ![](fig/bash.drawio.svg)
5. 一番下の`(NEW!)Add a git Bash Profile to Windows Terminal`のチェックボックスにチェックを入れてください
6. 以降は全部`next`を押して、`install`を押してください

### Git bash profile
1. Windowsメニューから`Git`のフォルダをクッリク,その中の`Git Bash`をクリック
- ![](fig/git_bash.drawio.svg)
2. `Git Bash`を開くと`Terminal`が開きます
3. 開いたら,`profile設定`共通部分をしてください


## Mac
- `Mac`ではコマンドで`Git`をインストールします
1. `Git`が入っているかどうか`Terminal`から確認します コマンド → `git --version`
2. 入っていない場合は,`Homebrew`からGitをインストールします,入っている場合は`profile設定`に飛んでください
3. `brew install git`を入力しインストール,インストール後確認`git --version`


## profile 設定 Mac $ Windows 共通 (WindowsはBash ,MacはTerminal)
1. ユーザー名(`user.name`)とメールアドレス(`user.email`)を登録します
2. `git config --global user.name "自分だとわかる名前を入れてください"`を打って`Git`にユーザー名を登録します
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

日本語にするよりも

後の文に "Your Name には Git で使用するユーザ名を入力して下さい"などの方が良いと思います。

`Git`にユーザー名を登録しておくことで、コミット時の名前を表示できます
- *例* `git config --global user.name "Yoshiki"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

タブを追加して階層化しましょう

Suggested change
- ** `git config --global user.name "Yoshiki"`
- ** `git config --global user.name "Yoshiki"`

3. `git config --global user.email "自分のメールアドレス入力してください"`を打って`Git`にメールアドレスを登録します
- *例* `git config --global user.email "wtfWasThat@gmail.com"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同じく

4. 登録確認のために`git config --global --list`を打って確認してください,登録した内容が表示されればOKです


### `Git Hubでファイルを管理してみよう`に続きます
6 changes: 6 additions & 0 deletions git_install/fig/bash.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading