別ブランチのあるファイルを取得する

別ブランチのあるファイルを取得する

 git checkout branch1              # branch1ブランチに移動する
 git checkout master -- index.php  # masterブランチのindex.phpを取得する

別ブランチのあるファイルを確認する

 git show master:index.php

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2019-04-03 (水) 17:16:32