Reputation: 3457
I am trying to do a "pull" from my git repository on bitbucket, using Egit (Eclipse). I can do "push" without any problems, but when I try to pull I get the error message:
The current branch is not configured for pull No value for key branch.master.merge found in configuration
I have tried creating new branches from both eclipse and bitbucket, but the can't seem to "communicate". When I create a new branch in eclipse, it's automatically a local ( which it shouldn't be)
How can I set up my eclipse and bitbucket for "pulls" (not local)? (I am a bit confused as I thought I was connected to the repository, since push works)
Any help will be greatly appreciated
Upvotes: 1
Views: 691
Reputation: 1323553
You need to specify an upstream branch.
The push works because of the default push policy "simple
".
With Egit:
Access "Configure Branch
":
Git Repositories
" view, Then:
Configure Branch...
":
Upstream Branch:
", put "refs/heads/yourBranch"Upvotes: 2