Software Development
Pages
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment