Undo git update-index –skip-worktree

A while ago I did this to ignore changes to a file tracked by git:

git update-index –skip-worktree
Now I actually want to commit changes to that file to source. How do I undo the …

Prevent Vim from updating its undo tree

I have a Vimscript function which is called on BufWritePre to check the integrity of the file. Typically this involves trimming whitespace and checking that the fold structure is “valid” (according …

Undoing a git rebase

Does anybody know how to easily undo a git rebase?

The only way that comes to mind is to go at it manually:
git checkout the commit parent to both of the branches
then create a temp branch from …