chubbsondubs
chubbsondubs

Reputation: 38676

Seeing commits from other users in IntelliJ with Git and Bitbucket

I'm using the bitbucket service to host my git repo, and I'm using Intellij 11 for my IDE. However, I can't seem to see the commits from other team members to the bitbucket repository in Intellij's changes -> log tab without pulling down their changes. Under the log tab I only see commits I've already pulled down. I do see the commits from other developers once they are in my local repository. But, I can't seem to see the commits I don't have in my local repo.

I've tried switching repos with the Branch drop downs to Remote -> origin/master, master, or All, but it never seems to change the content in the tab. It always shows what I have on my local copy. When I use the command line I can't use origin/master, but if simply use master I can see the changes. Is this an IntelliJ bug? A bitbucket bug? Or pilot error?

Upvotes: 0

Views: 444

Answers (2)

mnagel
mnagel

Reputation: 6854

i do not know about Intellij, but with git you generally cannot see commits in remote repositories. The only thing you can do on remote repositories is fetch then and push to them, but all other operations are local.

Upvotes: 2

Adam Dymitruk
Adam Dymitruk

Reputation: 129546

You need to fetch the changes to update your remote tracking branches first. Git will not show you what commits exist on the remote. It will only create that history to a viewable state after you have updated the remote tracking branches on your local repo.

Upvotes: 2

Related Questions