Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

mk November 17, 2019

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

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

 

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

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

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

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

1 answer

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の順に実施いただけますと適切なブランチでファイルが展開されるはずです。

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events