Git/hacks: Difference between revisions
Additional clarification about the use of option switches in checking out branches to track remote branches. |
new hack for git diff |
||
| Line 46: | Line 46: | ||
<source lang="bash"> | <source lang="bash"> | ||
git diff freephile/es128:config/core/MezaLocalExtensions.yml config/core/MezaLocalExtensions.yml | git diff freephile/es128:config/core/MezaLocalExtensions.yml config/core/MezaLocalExtensions.yml | ||
</source> | |||
== Compare a file between branches == | |||
Do you think a particular file has changed between two separate feature branches (ea based off master)? | |||
<source lang="bash"> | |||
# git diff branch1..branch2 -- path/to/file | |||
git diff es128-rebased..get-to-know-meza -- manual/commands.md | |||
</source> | </source> | ||