githooks - How to get back my deleted and committed file in git repo? -
i have project on git. project has files like:
file1.js file2.html file3.js file4.css file5.html file6.jpg file7.html file8.js file9.css
i did git -rm filename files , committed them, until left with
file1.js file2.html
i need file6.jpg
how file6.jpg repo have
file1.js file2.html file6.jpg
git checkout head~n -- file6.jpg
where n
number of commits in time file6.jpg
present.
Comments
Post a Comment