Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch error #59

Open
mr-wolf-gb opened this issue Apr 26, 2018 · 0 comments
Open

fetch error #59

mr-wolf-gb opened this issue Apr 26, 2018 · 0 comments

Comments

@mr-wolf-gb
Copy link

Plz help

my declaration :

require_once './Git_cls.php';

Git::windows_mode();
$repo = Git::open('C:\xampp\htdocs\SyncPHP');
$repo->fetch();

Error :

Fatal error: Uncaught Exception: bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https://gteamvsc.visualstudio.com': No error in C:\xampp\htdocs\SyncPHP\Git.php:348 Stack trace: #0 C:\xampp\htdocs\SyncPHP\Git.php(364): GitRepo->run_command('git fetch') #1 C:\xampp\htdocs\SyncPHP\Git.php(625): GitRepo->run('fetch') #2 C:\xampp\htdocs\SyncPHP\index.php(7): GitRepo->fetch() #3 {main} thrown in C:\xampp\htdocs\SyncPHP\Git.php on line 348


**

but when i make command with cmd 'git fetch' directly in repo directory work fine

**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant