Skip to content

Commit

Permalink
Merge pull request #9 from jigintern/feature/git-tutorial
Browse files Browse the repository at this point in the history
Feature/git tutorial
  • Loading branch information
Futaba-Kosuke authored Aug 4, 2023
2 parents 3d901e1 + 9b19834 commit 1e5dbb1
Show file tree
Hide file tree
Showing 8 changed files with 810 additions and 0 deletions.
32 changes: 32 additions & 0 deletions database-tutorial/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# データベース: MySQL学習資料

## 0. 事前準備
### 0-1. MySQL Workbench をインストールする

以下URLから **MySQL Workbench** をインストールしてください。
他ツールを利用しても問題ありませんが、解説はこちらを利用する想定で進行しますので、ご注意ください。

- [MySQL Workbench Installation](https://www.mysql.com/jp/products/workbench/)

## 1. 目次

1. [導入編 (30min)](./docs.md/#1-導入編)
- 1-1. [データベースとは何か](./docs.md/#1-1-データベースとは何か)
- 1-2. [MySQLとは何か?](./docs.md/#1-2-mysqlとは何か)
- 1-3. [MySQL Workbenchとは何か?](./docs.md/#1-3-mysql-workbenchとは何か)
2. [MySQLを触ってみよう (1h30min)](./docs.md/#2-mysqlを触ってみよう)
- 2-0. [MySQLにログインしよう](./docs.md/#2-0-mysqlにログインしよう)
- 2-1. [SELECT: データを取得してみよう](./docs.md/#2-1-select-データを取得してみよう)
- 2-2. [CREATE TABLE: テーブルを作ってみよう](./docs.md/#2-2-create-table-テーブルを作ってみよう)
- 2-3. [INSERT: データを新規作成してみよう](./docs.md/#2-3-insert-データを新規作成してみよう)
- 2-4. [UPDATE: データを更新してみよう](./docs.md/#2-4-update-データを更新してみよう)
- 2-5. [DELETE: データを削除してみよう](./docs.md/#2-5-delete-データを削除してみよう)
- 2-6. [ALTER TABLE: テーブルの定義を修正する](./docs.md/#2-6-alter-table-テーブルの定義を修正する)
3. [DenoからMySQLにアクセスしてみよう (45min)](./docs.md/#3-denoからmysqlにアクセスしてみよう)
- 3-1. [環境変数を使ってみよう](./docs.md/#3-1-環境変数を使ってみよう)
- 3-2. [DenoからMySQLの命令を発行してみよう](./docs.md/#3-2-denoからmysqlの命令を発行してみよう)


## 2. URL

- テキスト: [資料](./docs.md)
769 changes: 769 additions & 0 deletions database-tutorial/docs.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions git-tutorial/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ gitGraph
作業が一段落したタイミングでコミットを行うことで、作業内容の明文化や、バグ発生時の巻き戻し等で役立ちます。
また、コミットにはコミットメッセージという説明文を付与するため、作業内容を振り返る際の手助けにもなります。

> Topic: リポジトリに `.gitignore` という名前のファイルを追加することで、Git管理下から強制的に除外するファイルを定義することができます。
> これを使用すれば、Githubにアップしてはいけない情報(テスト用のパスワード、認証情報のハッシュ等)をGit管理下から除外できます。
> ```
> # .gitignore
> .env
> .password
> .DS_Store
> ```
Github Desktopでは、以下のように操作することで、コミットの操作を行うことができます。

<details>
Expand Down

0 comments on commit 1e5dbb1

Please sign in to comment.