examining history of deleted file

前端 未结 17 1865
臣服心动
臣服心动 2020-11-30 17:36

If I delete a file in Subversion, how can I look at it\'s history and contents? If I try to do svn cat or svn log on a nonexistent file, it complai

17条回答
  •  旧时难觅i
    2020-11-30 18:24

    In addition to Dustin's answer, if you just want to examine the contents, and not check it out, in his example you can do:

    $ git show 8d4a1f^:slosh.tac
    

    the : separates a revision and a path in that revision, effectively asking for a specific path at a specific revision.

提交回复
热议问题