Back Git

Restore A Files From Last Git Revision

WRITTEN BY ON 04 Mar 2014
3,498 VIEWS • SHARES
0 comments

Sometimes you made heaps of changes to a file and in the end you decided to roll back and do it all over again. This command does that.

git checkout path
Join the discussion

Comments will be moderated and rel="nofollow" will be added to all links. You can wrap your coding with [code][/code] to make use of built-in syntax highlighter.