Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Confused about IDEA's representation of my local and remote Git branches

$
0
0

I have a project locally that's also pushed to Bitbucket (it's private so far). I don't understand the relationship between what Git Bash says the existing local and remote branches are and what IDEA says. I'm quite new to Git, IDEA/Git, and Bitucket, so apologies if I'm just way thick.

 

=================================
Git Bash
=================================
$ git branch -a
  default (white) [yes, there's a branch named default, want to kill it]
* master (green)
  remotes/myapp/default (red)
  remotes/myapp/master (red)
=================================

 

=================================
IDEA > VCS > Git > Branches (popup)
=================================
+ New Branch
  Checkout Tag or Revision
--- Local Branches ---
  default -> myapp/default
--- Remote Branches ---
  myapp/default
  myapp/mast
--------------------------------
   Current branch: master
=================================

 

Far as I can see, IDEA doesn't think there's a local branch named master. Except for the fact that it's the current branch??? Am I reading this wrong? Is it a bug?

 

Thanks,

 

Dave Merrill


Viewing all articles
Browse latest Browse all 5661

Trending Articles