Rose Perrone
Rose Perrone

Reputation: 63576

What are these git dot un files?

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

Answers (1)

addiedx44
addiedx44

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

Related Questions