質問編集履歴
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -65,3 +65,21 @@
|
|
65
65
|
|
66
66
|
|
67
67
|
```
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
```
|
72
|
+
|
73
|
+
$ git add -A ; git commit -m '.'
|
74
|
+
|
75
|
+
.git/hooks/pre-commit: 3: .git/hooks/pre-commit: history: not found
|
76
|
+
|
77
|
+
.git/hooks/pre-commit: 4: .git/hooks/pre-commit: history: not found
|
78
|
+
|
79
|
+
.git/hooks/pre-commit: 6: .git/hooks/pre-commit: history: not found
|
80
|
+
|
81
|
+
pre-commit
|
82
|
+
|
83
|
+
[master d7cb32d] .
|
84
|
+
|
85
|
+
```
|
1
インタプリタの変更をやってみましたができませんでした。
test
CHANGED
File without changes
|
test
CHANGED
@@ -33,3 +33,35 @@
|
|
33
33
|
.git/hooks/pre-commit: 4: .git/hooks/pre-commit: history: not found
|
34
34
|
|
35
35
|
```
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
## 追記
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
インタプリタの変更をやってみましたができませんでした。
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
#/bin/bash
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
history > history.log
|
54
|
+
|
55
|
+
# => ファイルが空になっているのでhistoryが効いていないと思われる
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
history
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
echo "pre-commit " # => 出力される。
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
```
|