I have a git repository, currently on master
branch. The last commit (f3d8237
has about a dozen files (all modified
). Most of these files are different from their fellows in the working directory.
What I want to do is this: for each file in f3d8237
, replace the corresponding file in the working tree with this file.
I have been swimming through SO for this specific scenario. This answer: https://stackoverflow.com/a/12049323/2554788 seems to capture my scenario most closely, but based on the myriad of other answers and comments on this thread, I'm intimidated to take a plunge. Don't want to make things worse!
Of course, it's probably clear I haven't even cut my git
milk teeth yet.