How to checkout old version of folder in git -
i need pull changes origin. problem 1 of libs updated newest version , crashes part of application. pull recent changes , go previous (or specific) version 1 folder, contains problem causing lib. there way that?
git checkout last_working_commit -- vendor/library/in/question
this check out folder in version of last_working_commit
. however, git status
tell, files modified:
$ git status # on branch master # changes not staged commit: # (use "git add together <file>..." update committed) # (use "git checkout -- <file>..." discard changes in working directory) # # modified: vendor/library/in/question/file.exe # no changes added commit (use "git add" and/or "git commit -a")
git
No comments:
Post a Comment