Restore files deleted with git clean -df

后端 未结 3 635
北海茫月
北海茫月 2021-01-25 10:39

I was trying to clear my git after adding files from the wrong directory and ran the git clean -df function. This resulted in all my user data being deleted.

I haven\'t

3条回答
  •  甜味超标
    2021-01-25 11:24

    Short answer and most probable there is not!!

    Still some IDE's track and store locally this information see for example: Is it still possible to restore deleted untracked files in git?

    So depending on your IDE or text editor it still might be possible.

提交回复
热议问题