ユーザ用ツール

サイト用ツール


development:git

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
development:git [2020/07/27 15:26] – [ユーザ名・パスワードの設定] hayashidevelopment:git [2020/07/27 15:35] 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 オプションは、指定したコミットを含むブランチのみを表示
 +
  
 ===== 標準出力に出力 ===== ===== 標準出力に出力 =====
行 103: 行 109:
 </file> </file>
  
-または、git cloneするURLに埋め込む((user,passに@が含まれているとエラーになるのでちうい。記号はエンコードしませう))+または、git cloneするURLに埋め込む((user,passに@が含まれているとエラーになるのでちうい。記号はエンコードしませう))((.git/config のURLにuser、passがまんま埋め込まれるので要注意))
  
   git clone https://user:pass@github.com/pathto/repos.git   git clone https://user:pass@github.com/pathto/repos.git
development/git.txt · 最終更新: 2022/08/14 13:23 by hayashi