How to Clone Repository using GitPython -
i new python , git. found gitpython library run git commands using python. trying clone created private repository on google cloud local directory on mac. code follow:
repo = repo.clone_from('https://source.developers.google.com/p/my-project/r/my-project--data', 'my-local-dir', no_checkout=true)
and getting following error:
git.exc.gitcommanderror: cmd('git') failed due to: exit code(128) cmdline: git clone --no-checkout -v https://source.developers.google.com/p/my-project/r/my-project-data /my-local-dir stderr: 'cloning '/my-local-dir'... fatal: not read username 'https://source.developers.google.com': device not configured
please help. in advance.
Comments
Post a Comment