Restore files deleted with git clean -df

后端 未结 3 632
北海茫月
北海茫月 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:03

    There's no way to recover from this unless you had a backup or want to explore using undelete utilities. Git is not saving backups anywhere.

提交回复
热议问题