git discard local changes and pull - How do I discard unstaged changes in Git?
git reset file / git / version-control
How do I discard changes in my working copy that are not in the index?
git clean -df
branch - git ignore untracked files - How to remove local (untracked) files from the current Git working tree recovery - git stash corrupt - How to recover a dropped stash in Git? git-amend pushed commit - How to modify existing, unpushed commit messages? git fetch remote branch - What is the difference between 'git pull' and 'git fetch'? undo git reset - How do I undo 'git add' before commit? git stash push - How do you stash an untracked file? git undo last commit keep changes - How do I undo the most recent local commits in Git? file-io - git show deleted files - How to find and restore a deleted file in a Git repository git-fetch - git overwrite local file - How do I force “git pull” to overwrite local files? git-checkout - git get remote branch - How do I check out a remote Git branch? git-remote - git delete remote branch - How do I delete a Git branch locally and remotely? git revert merge - How do I revert a Git repository to a previous commit? git-clean - git revert file to previous commit - How to revert uncommitted changes including files and folders? version-control - git rename remote branch only - How do I rename a local Git branch?