ユーザ用ツール

サイト用ツール


development:git

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

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