I have a repository with several branches. All branches are updated using an equivalent remote branch.
For example, see the output from git state and git log for the following two branches:
Branch mantis_0074
mchaleg@ELT-L-0018 ~/Documents/BitBucket/electroroute_repositories/gudrun (mantis_0074) $ git status On branch mantis_0074 nothing to commit, working directory clean mchaleg@ELT-L-0018 ~/Documents/BitBucket/electroroute_repositories/gudrun (mantis_0074) $ git log --oneline --decorate a67b6f7 (HEAD, origin/mantis_0074, mantis_0074) M-0074: Update expected results from sample bids. afda69c M-0074: Rename long and short term intra-day BritNed auction files to use the correct name format so that they will be processed correctly (ie not handled as bcc41 M-0074: Add unprocessed files which can be used for testing amp_file_transfer.ps1 script.
Branch mantis_0151
mchaleg@ELT-L-0018 ~/Documents/BitBucket/electroroute_repositories/gudrun (mantis_0151) $ git status On branch mantis_0151 Your branch is up-to-date with 'origin/mantis_0151'. nothing to commit, working directory clean mchaleg@ELT-L-0018 ~/Documents/BitBucket/electroroute_repositories/gudrun (mantis_0151) $ git log
You can see from the output of git log that both branches are updated with the remote branch.
Having seen that both branches are updated, why is the message Your branch is up-to-date with 'origin/branch' displayed only in the git status message of the mantis_0151 branch?
source share