質問するログイン新規登録

質問編集履歴

5

追記

2018/09/19 14:13

投稿

Iksch
Iksch

スコア15

title CHANGED
File without changes
body CHANGED
@@ -78,4 +78,6 @@
78
78
  $ git commit -m "my first commit"
79
79
  On branch master
80
80
  nothing to commit, working tree clean
81
- ```
81
+ ```
82
+ 更新遅くなりました
83
+ [こちらの記事](https://qiita.com/1ntegrale9/items/9d570ef8175cf178468f)を参考に作成していました

4

エラー追記

2018/09/19 14:13

投稿

Iksch
Iksch

スコア15

title CHANGED
File without changes
body CHANGED
@@ -69,5 +69,13 @@
69
69
  remote:
70
70
  To https://git.heroku.com/disiksbot2.git
71
71
  ! [remote rejected] master -> master (pre-receive hook declined)
72
+ error: failed to push some refs
72
- error: failed to push some refs to 'https://git.heroku.com/disiksbot2.git'
73
+ to 'https://git.heroku.com/disiksbot2.git'
74
+ ```
75
+ すみません...
76
+ pushする前にコミットの部分でエラーが出てました
77
+ ```
78
+ $ git commit -m "my first commit"
79
+ On branch master
80
+ nothing to commit, working tree clean
73
81
  ```

3

エラー全文の記載

2018/09/19 03:33

投稿

Iksch
Iksch

スコア15

title CHANGED
File without changes
body CHANGED
@@ -17,6 +17,7 @@
17
17
  回答にあった[こちら](https://qiita.com/yoshixj/items/6441ab2cd6bc367e607d)を実行したところ
18
18
 
19
19
  ```
20
+
20
21
  $ git push origin :branch-name
21
22
  fatal: 'origin' does not appear to be a git repository
22
23
  fatal: Could not read from remote repository.
@@ -27,4 +28,46 @@
27
28
  $ git push origin branch-name
28
29
  error: src refspec branch-name does not match any.
29
30
  error: failed to push some refs to 'origin'
31
+ ```
32
+
33
+ 追記
34
+ ```
35
+ $ git push heroku :branch-name
36
+ error: unable to delete 'branch-name': remote ref does not exist
37
+ error: failed to push some refs to 'https://git.heroku.com/disiksbot2.git'
38
+
39
+ $ git push heroku branch-name
40
+ error: src refspec branch-name does not match any.
41
+ error: failed to push some refs to 'https://git.heroku.com/disiksbot2.git'
42
+ ```
43
+
44
+ ```
45
+ $ git push heroku master
46
+ Enumerating objects: 6, done.
47
+ Counting objects: 100% (6/6), done.
48
+ Delta compression using up to 4 threads
49
+ Compressing objects: 100% (4/4), done.
50
+ Writing objects: 100% (6/6), 1.91 KiB | 653.00 KiB/s, done.
51
+ Total 6 (delta 0), reused 0 (delta 0)
52
+ remote: Compressing source files... done.
53
+ remote: Building source:
54
+ remote:
55
+ remote: -----> Python app detected
56
+ remote: ! The latest version of Python 3.6 is python-3.6.6 (you are using python-3.6.5, which is unsupported).
57
+ remote: ! We recommend upgrading by specifying the latest version (python-3.6.6).
58
+ remote: Learn More: https://devcenter.heroku.com/articles/python-runtimes
59
+ remote: -----> Installing python-3.6.5
60
+ remote: -----> Installing pip
61
+ ~(入りきらなかった為、中略)~
62
+ remote: No matching distribution found for pywin32==223 (from -r /tmp/build_aaa89c5c08ef59044e2244fc58efec64/requirements.txt (line 32))
63
+ remote: ! Push rejected, failed to compile Python app.
64
+ remote:
65
+ remote: ! Push failed
66
+ remote: Verifying deploy...
67
+ remote:
68
+ remote: ! Push rejected to disiksbot2.
69
+ remote:
70
+ To https://git.heroku.com/disiksbot2.git
71
+ ! [remote rejected] master -> master (pre-receive hook declined)
72
+ error: failed to push some refs to 'https://git.heroku.com/disiksbot2.git'
30
73
  ```

2

誤字の修正

2018/09/19 03:15

投稿

Iksch
Iksch

スコア15

title CHANGED
File without changes
body CHANGED
@@ -17,7 +17,7 @@
17
17
  回答にあった[こちら](https://qiita.com/yoshixj/items/6441ab2cd6bc367e607d)を実行したところ
18
18
 
19
19
  ```
20
- $ git push master :branch-name
20
+ $ git push origin :branch-name
21
21
  fatal: 'origin' does not appear to be a git repository
22
22
  fatal: Could not read from remote repository.
23
23
 

1

回答への返答

2018/09/19 02:46

投稿

Iksch
Iksch

スコア15

title CHANGED
File without changes
body CHANGED
@@ -11,4 +11,20 @@
11
11
 
12
12
  ### 補足情報(FW/ツールのバージョンなど)
13
13
  win10
14
- python3.6.5
14
+ python3.6.5
15
+
16
+ ---
17
+ 回答にあった[こちら](https://qiita.com/yoshixj/items/6441ab2cd6bc367e607d)を実行したところ
18
+
19
+ ```
20
+ $ git push master :branch-name
21
+ fatal: 'origin' does not appear to be a git repository
22
+ fatal: Could not read from remote repository.
23
+
24
+ Please make sure you have the correct access rights
25
+ and the repository exists.
26
+
27
+ $ git push origin branch-name
28
+ error: src refspec branch-name does not match any.
29
+ error: failed to push some refs to 'origin'
30
+ ```