git:restore_deleted_file
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
git:restore_deleted_file [2016/11/22 12:17] – created peter | git:restore_deleted_file [2019/11/29 15:12] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== GIT - Restore deleted file ====== | ||
- | |||
- | To restore an accidentally deleted file | ||
- | |||
- | <code bash> | ||
- | git checkout HEAD foo.bar | ||
- | < | ||
git/restore_deleted_file.1479817044.txt.gz · Last modified: 2020/07/15 09:30 (external edit)