“Git descarte todas as mudanças comando” Respostas de código

Git descarte todas as mudanças

git clean -df
git checkout -- .
Mushy Monkey

descarte todas as mudanças

git stash save --keep-index --include-untracked
Kasmin Nicko

Alterações de descarte da linha de comando git

git clean -dxn .  # dry-run to inspect the list of files-to-be-removed
git clean -dxf .  # REMOVE ignored/untracked files (in the current directory)
git checkout -- . # ERASE changes in tracked files (in the current directory)
Prickly Polecat

Git descarte todas as mudanças comando

git reset –hard		# Revert uncommitted changes in index
git clean -fxd		# Remove newly created files that not in index
Prickly Polecat

Respostas semelhantes a “Git descarte todas as mudanças comando”

Perguntas semelhantes a “Git descarte todas as mudanças comando”

Mais respostas relacionadas para “Git descarte todas as mudanças comando” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código