git commit - Undo all files within a folder in git -
i searched , found many link talks un-doing uncommited changes respect specific file:
- git reset
- git reset --hard
- git checkout -- file
- git checkout branchname^ filename
but want undo changes files have modifies under specific folder.
assume have folder clients/libs/slickgrid
& slickgrid
internally contains multiple folder contains multiple files.
i want undo modified files under slickgrid folder. options have on here?
git reset head clients/lib/slickgrid
if part of git's history have do
git checkout clients/lib/slickgrid
Comments
Post a Comment