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

質問編集履歴

4

a

2020/01/21 12:58

投稿

esklia
esklia

スコア81

title CHANGED
File without changes
body CHANGED
@@ -26,8 +26,8 @@
26
26
 
27
27
  ```
28
28
  (env1) hoge@LAPTOP-hoge:~/env1$ git remote -v
29
- origin https://github.com/hoge/reading-record-app.git (fetch)
29
+ origin https://github.com/hoge/reading-reco.git (fetch)
30
- origin https://github.com/hoge/reading-record-app.git (push)
30
+ origin https://github.com/hoge/reading-reco.git (push)
31
31
  ```
32
32
 
33
33
  ↑これの意味を教えていただきたいです。

3

2020/01/21 12:58

投稿

esklia
esklia

スコア81

title CHANGED
File without changes
body CHANGED
@@ -18,15 +18,19 @@
18
18
  ```
19
19
 
20
20
  ```Integrate the remote changes (e.g.
21
- hint: 'git pull ...') before pushing again.```
21
+ hint: 'git pull ...') before pushing again.
22
+ ```
23
+
22
24
  とのことなので、push前にプルしろということなのでしょうが、なぜ初回のpushでこれを要求されるのでしょうか。pullしようにも、pushしないとpullのしようがないのではないでしょうか。また、
23
25
 
26
+
24
27
  ```
25
28
  (env1) hoge@LAPTOP-hoge:~/env1$ git remote -v
26
29
  origin https://github.com/hoge/reading-record-app.git (fetch)
27
30
  origin https://github.com/hoge/reading-record-app.git (push)
28
31
  ```
32
+
29
33
  ↑これの意味を教えていただきたいです。
30
34
 
31
35
  **試したこと**
32
- git pull などを試してみましたが、うまくいきませんでした。
36
+ git pull などを試してみましたが、うまくいきませんでした。

2

2020/01/21 12:58

投稿

esklia
esklia

スコア81

title CHANGED
File without changes
body CHANGED
@@ -26,4 +26,7 @@
26
26
  origin https://github.com/hoge/reading-record-app.git (fetch)
27
27
  origin https://github.com/hoge/reading-record-app.git (push)
28
28
  ```
29
- ↑これの意味を教えていただきたいです。
29
+ ↑これの意味を教えていただきたいです。
30
+
31
+ **試したこと**
32
+ git pull やなどを試してみましたが、うまくいきませんでした。

1

s

2020/01/21 12:57

投稿

esklia
esklia

スコア81

title CHANGED
@@ -1,1 +1,1 @@
1
- git プッシュ前にプルする意味
1
+ git:プッシュ前にプルする意味が分からない
body CHANGED
File without changes