Skip to content

Commit

Permalink
Structure test fixtures like page cache
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasmohrin committed Jan 2, 2025
1 parent 909bad9 commit e85de33
Show file tree
Hide file tree
Showing 14 changed files with 227 additions and 230 deletions.
37 changes: 37 additions & 0 deletions tests/cache/pages.ja/common/apt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# apt

> Debian系ディストリビューションで使われるパッケージ管理システムです。
> Ubuntuのバージョンが16.04か、それ以降で対話モードを使う場合`apt-get`の代わりとして使用します。
> 詳しくはこちら: <https://manned.org/apt.8>
- 利用可能なパーケージとバージョンのリストの更新(他の`apt`コマンドの前での実行を推奨):

`sudo apt update`

- 指定されたパッケージの検索:

`apt search {{パッケージ}}`

- パッケージの情報を出力:

`apt show {{パッケージ}}`

- パッケージのインストール、または利用可能な最新バージョンに更新:

`sudo apt install {{パッケージ}}`

- パッケージの削除(`sudo apt remove --purge`の場合設定ファイルも削除):

`sudo apt remove {{パッケージ}}`

- インストールされている全てのパッケージを最新のバージョンにアップグレード:

`sudo apt upgrade`

- インストールできるすべてのパッケージを表示:

`apt list`

- インストールされた全てのパッケージを表示(依存関係も表示):

`apt list --installed`
36 changes: 36 additions & 0 deletions tests/cache/pages/common/git-checkout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# git checkout

> Checkout a branch or paths to the working tree.
> More information: <https://git-scm.com/docs/git-checkout>.
- Create and switch to a new branch:

`git checkout -b {{branch_name}}`

- Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):

`git checkout -b {{branch_name}} {{reference}}`

- Switch to an existing local branch:

`git checkout {{branch_name}}`

- Switch to the previously checked out branch:

`git checkout -`

- Switch to an existing remote branch:

`git checkout --track {{remote_name}}/{{branch_name}}`

- Discard all unstaged changes in the current directory (see `git reset` for more undo-like commands):

`git checkout .`

- Discard unstaged changes to a given file:

`git checkout {{path/to/file}}`

- Replace a file in the current directory with the version of it committed in a given branch:

`git checkout {{branch_name}} -- {{path/to/file}}`
File renamed without changes.
File renamed without changes.
File renamed without changes.
32 changes: 0 additions & 32 deletions tests/chmod.ru.expected

This file was deleted.

32 changes: 0 additions & 32 deletions tests/chmod.ru.md

This file was deleted.

File renamed without changes.
Loading

0 comments on commit e85de33

Please sign in to comment.