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