git checkout 3174f7c2385f5aebb7671b8cdc7c666144b2c8b4 model.py -T
On Wed, 2021-01-13 at 14:31 -0800, Rich Shepard wrote: > Reading my copy of Pro Git (2nd Ed) I'm not seeing how I can checkout > (extract) a single file from an earlier version. > > Specifically I want to extract the file, model.py, from commit > 3174f7c2385f5aebb7671b8cdc7c666144b2c8b4 made Mon Jan 15 14:49:27 > 2018. > > If I checkout the entire commit in the project directory I assume it > overwrites what already exists there. > > Pointers needed. > > Rich > > _______________________________________________ > PLUG: https://pdxlinux.org > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug _______________________________________________ PLUG: https://pdxlinux.org PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
