Skip to content

Home

Discard untracked changes

Discards all untracked changes to the current branch.

git clean -f -d

# Examples
git clean -f -d
# Discards all untracked changes

More like this

Start typing a keyphrase to see matching snippets.