When using eclipse or MyEclipse for pull remote code, or GitHub code, the following error code is reported;
On behalf of us not configuring our git address, here I teach you to configure. First, the following is the error code:
The current branch isn't configured for Pullno value for key branch.master.merge found in configuration
Workaround:
Find the config file in our local engineering directory (E:\david\xiaobing.git, for example);
Modify config file contents as:
[Core] repositoryformatversion = 0 FileMode = False Logallrefupdates = True [branch "master"] remote = origin< C9/>merge = Refs/heads/master [remote "origin"] URL = https://github.com/QQ986945193/ Davidandroidprojecttools.git (modify it to its own URL, and then remove the bracketed content) fetch = +refs/heads/*:refs/remotes/origin/*
- Finally execute the Pull method and find the work OK
Use git for pull remote code in JAVA eclipse