development:git
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | 次のリビジョン両方とも次のリビジョン | ||
development:git [2020/07/27 15:27] – [ユーザ名・パスワードの設定] hayashi | development:git [2020/07/27 15:35] – hayashi | ||
---|---|---|---|
行 47: | 行 47: | ||
現在チェックアウトしているブランチ名を< | 現在チェックアウトしているブランチ名を< | ||
git branch -m <old branchname> | git branch -m <old branchname> | ||
+ | |||
+ | ==== git branch --contains ==== | ||
+ | 現在のブランチ名を表示 | ||
+ | |||
+ | contains オプションは、指定したコミットを含むブランチのみを表示 | ||
+ | |||
===== 標準出力に出力 ===== | ===== 標準出力に出力 ===== |
development/git.txt · 最終更新: 2022/08/14 13:23 by hayashi