development:git
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
development:git [2019/01/23 05:02] – [logを比較] hayashi | development:git [2020/07/06 08:49] – [参考] hayashi | ||
---|---|---|---|
行 1: | 行 1: | ||
====== git ====== | ====== git ====== | ||
- | ===== logを標準出力に出力 ===== | ||
- | git --no-pager log | + | ===== 標準出力に出力 ===== |
- | ===== logを比較 | + | git --no-pager < |
+ | |||
+ | |||
+ | ===== log ===== | ||
+ | * %%--%%oneline: | ||
+ | * %%--%%decorate: | ||
+ | * %%--%%graph: | ||
+ | * %%--%%branches: | ||
+ | * %%--%%tags: tagを表示 | ||
+ | * %%--%%remotes: | ||
+ | |||
+ | |||
+ | ==== merge commitを表示しない ==== | ||
+ | |||
+ | git log --no-merges | ||
+ | |||
+ | ==== 指定ブランチ間のlogを表示 | ||
git --no-pager log < | git --no-pager log < | ||
行 13: | 行 28: | ||
git clone --depth 1 https:// | git clone --depth 1 https:// | ||
+ | |||
+ | ===== shortlog ===== | ||
+ | |||
+ | shortlog コマンドは git log の特別なバージョンで、リリースを作成することを目的としています。\\ | ||
+ | 作成者別にコミットメッセージの最初の行を表示します。 | ||
===== 特定のフォルダのみpull ===== | ===== 特定のフォルダのみpull ===== | ||
行 30: | 行 50: | ||
===== 参考 ===== | ===== 参考 ===== | ||
- | [[https:// | + | * [[https:// |
+ | * [[https:// |
development/git.txt · 最終更新: 2022/08/14 13:23 by hayashi