質問編集履歴

3

リモートリポジトリのURLの表記について修正しました

2020/12/25 12:08

投稿

AlbertVerlnich
test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  git pullすると良いと聞いたのでgit pull origin masterは問題なく実行できました。
24
24
 
25
- > From https://github.com/***
25
+ > From https://github.com/aaa
26
26
 
27
27
  * branch master -> FETCH_HEAD
28
28
 

2

リモートリポジトリのURLの表記について修正しました

2020/12/25 12:08

投稿

AlbertVerlnich
test CHANGED
File without changes
test CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  ローカルで作業が進んだので、リモートリポジトリのchoブランチにgit pushしたいのですが、git push origin master:choでやろうとしたら以下のようなエラーが出てgit pushできませんでした。
6
6
 
7
- > To https://github.com/***
7
+ > To https://github.com/aaa
8
8
 
9
9
  ! [rejected] master -> cho (non-fast-forward)
10
10
 
11
- error: failed to push some refs to 'https://github.com/***'
11
+ error: failed to push some refs to 'https://github.com/aaa'
12
12
 
13
13
  hint: Updates were rejected because a pushed branch tip is behind its remote
14
14
 
@@ -42,11 +42,11 @@
42
42
 
43
43
  ```
44
44
 
45
- > To https://github.com/***
45
+ > To https://github.com/aaa
46
46
 
47
47
  ! [rejected] master -> cho (non-fast-forward)
48
48
 
49
- error: failed to push some refs to 'https://github.com/***'
49
+ error: failed to push some refs to 'https://github.com/aaa'
50
50
 
51
51
  hint: Updates were rejected because a pushed branch tip is behind its remote
52
52
 
@@ -70,9 +70,9 @@
70
70
 
71
71
  >
72
72
 
73
- origin https://github.com/*** (fetch)
73
+ origin https://github.com/aaa (fetch)
74
74
 
75
- origin https://github.com/*** (push)
75
+ origin https://github.com/aaa (push)
76
76
 
77
77
 
78
78
 

1

リモートリポジトリのURLが載ってしまっていましたが、今回の質問の大筋には関係ないかと思い、修正しました。

2020/12/25 12:07

投稿

AlbertVerlnich
test CHANGED
@@ -1 +1 @@
1
- git pushができません
1
+ git pushのエラーなおりません
test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ! [rejected] master -> cho (non-fast-forward)
10
10
 
11
- error: failed to push some refs to 'https://github.com/nozomushimaoka/ATRank'
11
+ error: failed to push some refs to 'https://github.com/***'
12
12
 
13
13
  hint: Updates were rejected because a pushed branch tip is behind its remote
14
14
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  ! [rejected] master -> cho (non-fast-forward)
48
48
 
49
- error: failed to push some refs to 'https://github.com/nozomushimaoka/ATRank'
49
+ error: failed to push some refs to 'https://github.com/***'
50
50
 
51
51
  hint: Updates were rejected because a pushed branch tip is behind its remote
52
52
 
@@ -70,9 +70,9 @@
70
70
 
71
71
  >
72
72
 
73
- origin https://github.com/nozomushimaoka/ATRank (fetch)
73
+ origin https://github.com/*** (fetch)
74
74
 
75
- origin https://github.com/nozomushimaoka/ATRank (push)
75
+ origin https://github.com/*** (push)
76
76
 
77
77
 
78
78