Reputation: 63576
In my git repo, the results of ls -a
is:
.fileInFirstCommit.un~
.fileInSecondCommit.un~
.git
fileInFirstCommit
fileInFirstCommit~
fileInSecondCommit
fileInSecondCommit~
what are all these .un~ files?
Upvotes: 1
Views: 424
Reputation: 2743
Those are Vim's undofiles
. undofile
is a relatively new feature that allows you to store undo history for individual files. This blog post covers the basic idea pretty well. See also :help new-persistent-undo
in Vim.
Upvotes: 6