-
-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Description
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
**
Metadata
Metadata
Assignees
Labels
No labels