Read more

How to view a file from another branch

Dominik Schöler
January 19, 2015Software engineer at makandra GmbH

Just run git show branch:file. Examples:

git show HEAD~:bin/command
git show origin/master:../lib/version.rb
Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot
Posted by Dominik Schöler to makandra dev (2015-01-19 11:49)