質問編集履歴
5
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -159,3 +159,7 @@
|
|
159
159
|
nothing to commit, working tree clean
|
160
160
|
|
161
161
|
```
|
162
|
+
|
163
|
+
更新遅くなりました
|
164
|
+
|
165
|
+
[こちらの記事](https://qiita.com/1ntegrale9/items/9d570ef8175cf178468f)を参考に作成していました
|
4
エラー追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -140,6 +140,22 @@
|
|
140
140
|
|
141
141
|
! [remote rejected] master -> master (pre-receive hook declined)
|
142
142
|
|
143
|
+
error: failed to push some refs
|
144
|
+
|
143
|
-
|
145
|
+
to 'https://git.heroku.com/disiksbot2.git'
|
144
146
|
|
145
147
|
```
|
148
|
+
|
149
|
+
すみません...
|
150
|
+
|
151
|
+
pushする前にコミットの部分でエラーが出てました
|
152
|
+
|
153
|
+
```
|
154
|
+
|
155
|
+
$ git commit -m "my first commit"
|
156
|
+
|
157
|
+
On branch master
|
158
|
+
|
159
|
+
nothing to commit, working tree clean
|
160
|
+
|
161
|
+
```
|
3
エラー全文の記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,8 @@
|
|
36
36
|
|
37
37
|
```
|
38
38
|
|
39
|
+
|
40
|
+
|
39
41
|
$ git push origin :branch-name
|
40
42
|
|
41
43
|
fatal: 'origin' does not appear to be a git repository
|
@@ -57,3 +59,87 @@
|
|
57
59
|
error: failed to push some refs to 'origin'
|
58
60
|
|
59
61
|
```
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
追記
|
66
|
+
|
67
|
+
```
|
68
|
+
|
69
|
+
$ git push heroku :branch-name
|
70
|
+
|
71
|
+
error: unable to delete 'branch-name': remote ref does not exist
|
72
|
+
|
73
|
+
error: failed to push some refs to 'https://git.heroku.com/disiksbot2.git'
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
$ git push heroku branch-name
|
78
|
+
|
79
|
+
error: src refspec branch-name does not match any.
|
80
|
+
|
81
|
+
error: failed to push some refs to 'https://git.heroku.com/disiksbot2.git'
|
82
|
+
|
83
|
+
```
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
```
|
88
|
+
|
89
|
+
$ git push heroku master
|
90
|
+
|
91
|
+
Enumerating objects: 6, done.
|
92
|
+
|
93
|
+
Counting objects: 100% (6/6), done.
|
94
|
+
|
95
|
+
Delta compression using up to 4 threads
|
96
|
+
|
97
|
+
Compressing objects: 100% (4/4), done.
|
98
|
+
|
99
|
+
Writing objects: 100% (6/6), 1.91 KiB | 653.00 KiB/s, done.
|
100
|
+
|
101
|
+
Total 6 (delta 0), reused 0 (delta 0)
|
102
|
+
|
103
|
+
remote: Compressing source files... done.
|
104
|
+
|
105
|
+
remote: Building source:
|
106
|
+
|
107
|
+
remote:
|
108
|
+
|
109
|
+
remote: -----> Python app detected
|
110
|
+
|
111
|
+
remote: ! The latest version of Python 3.6 is python-3.6.6 (you are using python-3.6.5, which is unsupported).
|
112
|
+
|
113
|
+
remote: ! We recommend upgrading by specifying the latest version (python-3.6.6).
|
114
|
+
|
115
|
+
remote: Learn More: https://devcenter.heroku.com/articles/python-runtimes
|
116
|
+
|
117
|
+
remote: -----> Installing python-3.6.5
|
118
|
+
|
119
|
+
remote: -----> Installing pip
|
120
|
+
|
121
|
+
~(入りきらなかった為、中略)~
|
122
|
+
|
123
|
+
remote: No matching distribution found for pywin32==223 (from -r /tmp/build_aaa89c5c08ef59044e2244fc58efec64/requirements.txt (line 32))
|
124
|
+
|
125
|
+
remote: ! Push rejected, failed to compile Python app.
|
126
|
+
|
127
|
+
remote:
|
128
|
+
|
129
|
+
remote: ! Push failed
|
130
|
+
|
131
|
+
remote: Verifying deploy...
|
132
|
+
|
133
|
+
remote:
|
134
|
+
|
135
|
+
remote: ! Push rejected to disiksbot2.
|
136
|
+
|
137
|
+
remote:
|
138
|
+
|
139
|
+
To https://git.heroku.com/disiksbot2.git
|
140
|
+
|
141
|
+
! [remote rejected] master -> master (pre-receive hook declined)
|
142
|
+
|
143
|
+
error: failed to push some refs to 'https://git.heroku.com/disiksbot2.git'
|
144
|
+
|
145
|
+
```
|
2
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
```
|
38
38
|
|
39
|
-
$ git push
|
39
|
+
$ git push origin :branch-name
|
40
40
|
|
41
41
|
fatal: 'origin' does not appear to be a git repository
|
42
42
|
|
1
回答への返答
test
CHANGED
File without changes
|
test
CHANGED
@@ -25,3 +25,35 @@
|
|
25
25
|
win10
|
26
26
|
|
27
27
|
python3.6.5
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
---
|
32
|
+
|
33
|
+
回答にあった[こちら](https://qiita.com/yoshixj/items/6441ab2cd6bc367e607d)を実行したところ
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
```
|
38
|
+
|
39
|
+
$ git push master :branch-name
|
40
|
+
|
41
|
+
fatal: 'origin' does not appear to be a git repository
|
42
|
+
|
43
|
+
fatal: Could not read from remote repository.
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
Please make sure you have the correct access rights
|
48
|
+
|
49
|
+
and the repository exists.
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
$ git push origin branch-name
|
54
|
+
|
55
|
+
error: src refspec branch-name does not match any.
|
56
|
+
|
57
|
+
error: failed to push some refs to 'origin'
|
58
|
+
|
59
|
+
```
|