mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* pages/*: update links and more info link script Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * cleanup: reformat code * ax-webapp: fix link * curl: fix false positive Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --------- Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
29 lines
978 B
Markdown
29 lines
978 B
Markdown
# git
|
|
|
|
> 分散型バージョン管理システム
|
|
> いくつかのサブコマンドがあります。例えば `commit`, `add`, `branch`, `checkout`, `push`, などです。 これらには使用方法についての独自のドキュメントがあり、 `tldr git subcommand` で見ることができます。
|
|
> 詳しくはこちら: <https://git-scm.com/>
|
|
|
|
- Gitのバージョンを確認する:
|
|
|
|
`git --version`
|
|
|
|
- Git全体のヘルプを見る:
|
|
|
|
`git --help`
|
|
|
|
- Gitのサブコマンドのヘルプを見る (例えば `clone`, `add`, `push`, `log`, など):
|
|
|
|
`git help {{サブコマンド}}`
|
|
|
|
- Gitのサブコマンドを実行する:
|
|
|
|
`git {{サブコマンド}}`
|
|
|
|
- Gitのサブコマンドを、任意のリポジトリのルートパスを指定して実行する:
|
|
|
|
`git -C {{ディレクトリパス}} {{サブコマンド}}`
|
|
|
|
- Gitのサブコマンドを、指定された設定値で実行する:
|
|
|
|
`git -c '{{config.key}}={{値}}' {{サブコマンド}}`
|