Takuya Miyashita
This site
Web
Start:
*別ブランチにあるファイルを持ってくる [#l545e334]
**ファイル名そのまま持ってくる場合 [#pdb7d119]
checkoutを使う.[[ファイルの復元>../ファイルの復活・復元]...
#codeprettify{{
git checkout another_branch filename
}}
**ファイル名を変更して呼び出す場合 [#off5a7c6]
現在のブランチの状況を変更したくはないけど,別のブランチ...
#codeprettify{{
git show [branch]:[filename] > file_new
}}
End:
*別ブランチにあるファイルを持ってくる [#l545e334]
**ファイル名そのまま持ってくる場合 [#pdb7d119]
checkoutを使う.[[ファイルの復元>../ファイルの復活・復元]...
#codeprettify{{
git checkout another_branch filename
}}
**ファイル名を変更して呼び出す場合 [#off5a7c6]
現在のブランチの状況を変更したくはないけど,別のブランチ...
#codeprettify{{
git show [branch]:[filename] > file_new
}}
Page:
Edit with a page name which already exists