Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Git - Unstage all deleted files
git status --porcelain | awk '$1 == "D" {print $2}' | xargs git reset HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.