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
---
On branch main |
Your branch is ahead of 'origin/main' by 2 commit(s). |
|
Unstaged changes (2) |
▌modified file1.txt |
▌@@ -1,5 +1,7 @@ |
▌ one |
▌ two |
▌+two-and-a-half |
▌+two-and-three-quarters |
▌ three |
▌ four |
▌ five |
▌@@ -7,4 +9,4 @@ six |
▌ seven |
▌ eight |
▌ nine |
▌-ten |
────────────────────────────────────────────────────────────────────────────────|
$ git stash apply -q stash@{0} |
styles_hash: ac8c9cc328d84585
[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