1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
source: src/tests/stash.rs
expression: out
---
Branch: main |
Your branch is ahead of 'origin/main' by 2 commit(s). |
|
Unstaged changes (2) |
file1.txt… |
file2.txt… |
|
Stashes |
▌stash@0 On main: apply-stash |
|
Recent commits |
a370438 main add file2.txt Author Name __ |
dc54b2a add file1.txt Author Name __ |
b66a0bf origin/main add initial-file Author Name __ |
|
|
|
|
────────────────────────────────────────────────────────────────────────────────|
$ git stash apply -q stash@{0} |
styles_hash: ec674f0a2ae16240
[files before]
--- file1.txt ---
one
two
three
four
five
six
seven
eight
nine
ten
--- file2.txt ---
alpha
beta
gamma
[files after]
--- file1.txt ---
one
two
two-and-a-half
two-and-three-quarters
three
four
five
six
seven
eight
nine
TEN
--- file2.txt ---
alpha
beta
gamma
delta