“Usuń wszystkie niestosowane pliki GIT” Kod odpowiedzi

Usuń wszystkie niestosowane pliki 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

odrzucić niezbadane zmiany 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 usuń niestosowane pliki

git clean -df
Fancy Fox

git odrzucaj niestabilne pliki

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

Odpowiedzi podobne do “Usuń wszystkie niestosowane pliki GIT”

Pytania podobne do “Usuń wszystkie niestosowane pliki GIT”

Więcej pokrewnych odpowiedzi na “Usuń wszystkie niestosowane pliki GIT” w Shell/Bash

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu