Software Development
Pages
(Move to ...)
Home
About
Contact
▼
Tuesday, December 01, 2015
How to check when a file was deleted in git
1. Check the log for a particular file.
git log -- app/views/articles/publish.html.erb
2. Copy the commit hash and do:
git show commit-hash
You can view the changes made to the files including the files that were deleted.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment