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

質問編集履歴

1

文法の修正

2019/07/26 07:57

投稿

miya_bunta
miya_bunta

スコア7

title CHANGED
File without changes
body CHANGED
@@ -3,15 +3,15 @@
3
3
  From bitbucket.org:xxxxxxx/xxxxxxx
4
4
  * branch develop -> FETCH_HEAD
5
5
  ```
6
- 私が期待していたのは下記のような結果です。(`git fech`した場合は問題なくリモート追跡ブランチに反映されました。)
6
+ 私が期待していたのは下記のような結果です。(引数なしで`git fech`した場合は問題なくリモート追跡ブランチに反映されました。)
7
7
  ```
8
8
  From bitbucket.org:xxxxxxx/xxxxxxx
9
9
  * branch develop -> FETCH_HEAD
10
10
  xxxxxx..xxxxxxx develop -> origin/develop
11
11
  ```
12
- `git fetch <repository> <branch>`した時にリモート追跡ブランチにも反映されるようにするには、どのようにしたら良いでしょうか?
12
+ `git fetch <repository> <branch>`した時にリモート追跡ブランチにも反映されのは何故でしょうか?
13
13
  ### 調べたこと
14
- `git fetch origin develop`は`git fetch origin develop:`と同じであり、引数として"<dst>"が明示されていない場合、"remote.origin.fetch"の値の"<dst>"が設定されると認識しております。
14
+ `git fetch origin develop`は`git fetch origin develop:`と同じであり、引数として"<dst>"が明示されていない場合、"remote.origin.fetch"の値の"<dst>"が設定されるという認識おります。
15
15
 
16
16
  ".git/config"を確認すると下記のようになっており、参照が間違っているようにも見えません。
17
17
  ```