-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Structure test fixtures like page cache
- Loading branch information
1 parent
909bad9
commit e85de33
Showing
14 changed files
with
227 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.