The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

必要のないプッシュ件数が出る

mk
November 17, 2019

クローン後、マスターブランとデベロップブランチを作り、

どちらにもプルをしました。

 

マスターブランチに、未プッシュ件数が表示されていまします。

プルをしたばかりなので、ファイル内容は、ローカルPCのとリモートリポジトリは一致しているはずだと思いうのですが、なぜプッシュが出るのか分かりません。

教えていただけますでしょうか。

よろしくお願い致します。

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nobuyuki Mukai
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 19, 2019

コミュニティをご利用いただきありがとうございます。アトラシアン株式会社の向井と申します。

「デベロップブランチ」はリモート側で作成いただいた形でしょうか?

 https://qiita.com/kota9/items/4226e9d4e538c881d410

上記URLの方が解説しているように、ローカルにブランチが存在していない場合、pullを実行したときのブランチにマージされてしまいます。お話を聞く限りですと、ローカルのマスターブランチに「デベロップブランチ」がマージされてしまっているのではないかと推測します。

もし正しければ、上記のURLでの解説のようにfetch, checkoutの順に実施いただけますと適切なブランチでファイルが展開されるはずです。

以上よろしくお願いいたします。

TAGS
AUG Leaders

Atlassian Community Events