Yanor.net/
Wiki
Blog
GitHub
Sandbox
開始行:
* ブランチ間で特定のファイルのdiffを見る [#b80a47c6]
** 1. diffを見たいブランチのHEADのコミットIDを調べる [#f1...
git show-ref --head
543732618a HEAD
543732618a refs/heads/branch1
cf25697a4d refs/heads/master
cf25697a4d refs/remotes/origin/HEAD
543732618a refs/remotes/origin/branch1
cf25697a4d refs/remotes/origin/master
- ここではmasterブランチ '''54373''' とbranch1ブランチ ''...
** 2. diffを見る [#meb77461]
git diff cf256 54373 -- src/index.txt
終了行:
* ブランチ間で特定のファイルのdiffを見る [#b80a47c6]
** 1. diffを見たいブランチのHEADのコミットIDを調べる [#f1...
git show-ref --head
543732618a HEAD
543732618a refs/heads/branch1
cf25697a4d refs/heads/master
cf25697a4d refs/remotes/origin/HEAD
543732618a refs/remotes/origin/branch1
cf25697a4d refs/remotes/origin/master
- ここではmasterブランチ '''54373''' とbranch1ブランチ ''...
** 2. diffを見る [#meb77461]
git diff cf256 54373 -- src/index.txt
ページ名: