“git odrzuć wszystkie zmiany zmiany” Kod odpowiedzi

git odrzuć wszystkie zmiany

git clean -df
git checkout -- .
Mushy Monkey

odrzuć wszystkie zmiany

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

git wiersz poleceń Odrzuć zmiany

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 odrzuć wszystkie zmiany zmiany

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

Odpowiedzi podobne do “git odrzuć wszystkie zmiany zmiany”

Pytania podobne do “git odrzuć wszystkie zmiany zmiany”

Więcej pokrewnych odpowiedzi na “git odrzuć wszystkie zmiany zmiany” w Shell/Bash

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

Przeglądaj inne języki kodu