Answers for "git revert to previous commit for specific file"

1

how to commit file to previous commit in git

$ git add new-file
$ git commit --amend
Posted by: Guest on March-08-2021
0

git reset a single file to previous commit

git checkout c5f567 -- file1/to/restore file2/to/restore
Posted by: Guest on September-28-2021

Code answers related to "git revert to previous commit for specific file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language