Answers for "git discard untracked changes terminal"

2

git discard untracked

# if you want to clean directories as well add -d
git clean -fd
Posted by: Guest on May-06-2021
0

Delete untracked file or discard unstaged work

git stash save --keep-index [--include-untracked]
git stash drop # deletes the untracked changes
Posted by: Guest on July-28-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language