Compare file between 2 branches

0

git diff branch1 branch2 path/to/file

Compare local uncommitted file with another branch

git diff rails610:./ -- Gemfile

  • 0 posts
  • 0 subtopics
  • 4 months ago by vince