1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ja/common/git.md
K.B.Dharun Krishna 5c26174aa9
pages/*: update links and more info link script (#11390)
* 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>
2023-11-06 23:14:12 +05:30

978 B

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}}={{値}}' {{サブコマンド}}