Zobacz co jest w schowku bez nakładania [duplikat]
to pytanie ma już odpowiedzi tutaj :
czy jest możliwość podglądu zawartości stash w git?
(16 odpowiedzi)
Zamknięte w zeszłym roku .
Widzę tutaj możesz zastosować/odrzucić skrytkę, a nawet utworzyć nową gałąź z skrytki. Czy można po prostu zobaczyć, co znajduje się w skrytce bez jej nakładania?
2002
Author: Konrad Rudolph, 2012-05-23
1 answers
Ze strony man git-stash
:
Modyfikacje ukryte przez to polecenie mogą być wymienione w GIT stash list, inspected with Git stash show
show [<stash>]
Show the changes recorded in the stash as a diff between the stashed state and
its original parent. When no <stash> is given, shows the latest one. By default,
the command shows the diffstat, but it will accept any format known to git diff
(e.g., git stash show -p stash@{1} to view the second most recent stash in patch
form).
Aby wymienić Ukryte modyfikacje
git stash list
Aby pokazać pliki zmienione w ostatnim schowku
git stash show
Więc, aby zobaczyć zawartość najnowszego schowka, Uruchom
git stash show -p
Aby wyświetlić zawartość dowolnego schowka, Uruchom coś w stylu
git stash show -p stash@{1}
2774
Author: simont,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2018-12-14 10:01:55
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2018-12-14 10:01:55