“Descartar mudanças sem fossas git” Respostas de código

Exclua todos os arquivos sem fossa Git

#For all unstaged files in current working directory use:
git checkout -- .
#For a specific file use:
git checkout -- path/to/file/to/revert

# delete all unstaged files
git clean -df

#discrard all unstaged files
git stash save --keep-index --include-untracked
Samiksha Singla

Descartar mudanças sem fossas git

#For all unstaged files in current working directory use:
git checkout -- .
#For a specific file use:
git checkout -- path/to/file/to/revert
Proud Peafowl

Git Excluir arquivos sem fossas

git clean -df
Fancy Fox

O que fazer com mudanças não agendadas após a redefinição

git rm --cached -r .
Helpless Hamster

reverter mudanças não agendadas git

git checkout -- .
Modern Moth

Git descarte arquivos sem fossa

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

Respostas semelhantes a “Descartar mudanças sem fossas git”

Perguntas semelhantes a “Descartar mudanças sem fossas git”

Mais respostas relacionadas para “Descartar mudanças sem fossas git” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código