Menu

Skip to content
  • Cookbook
  • About
  • Random bits in french

MrBrown blob

random bits.

Revision Control

March 22, 2013 by CharlyBr on Revision Control

git: checkout a specific revision of a file

Sometimes, you need to patch a specific file but you can’t pull the whole branch when deploying. To checkout a specific version revision of a file,  git syntax is : git checkout -m 4a3171c — filename For example, to get the last revision number of your master branch, look at your git fetch ouput : … →

 

Categories

  • Adminsys
  • Android
  • Benchmarks
  • Command line
  • Data centers
  • Development
  • Distro
  • http
  • iOS
  • iPhone
  • Java
  • Javascript
  • Logs
  • Mac
  • Mobile
  • Monitoring
  • MySQL
  • Nginx
  • Optimization
  • Photography
  • PHP
  • Revision Control
  • Ruby
  • Symfony
  • Uncategorized
  • Web
  • Wordpress

Recent Posts

  • AWS Cookbook
  • Nginx: unknown directive “rewrite_by_lua”
  • Nginx: mass permanent redirects
  • Android: center text horizontally and vertically in a TextView
  • Install gem as user on OSX 10.10 Yosemite

Search

 
Subscribe!
© CharlyBr - See also allNix