Skip to content

gitpuller errors #44

@miramar-labs

Description

@miramar-labs

I followed the instructions and installed gitpuller locally.
I created a repo here: https://github.com/miramar-labs/jlab-user-env.git
I then created a local test folder on my laptop:
mkdir test1
cd test1
then I tried:
gitpuller https://github.com/miramar-labs/jlab-user-env.git master .

got errors:
gitpuller https://github.com/miramar-labs/jlab-user-env.git master .
$ git fetch

fatal: Not a git repository (or any of the parent directories): .git

Traceback (most recent call last):
File "/Users/acody/miniconda3/bin/gitpuller", line 11, in
load_entry_point('nbgitpuller', 'console_scripts', 'gitpuller')()
File "/Users/acody/nbgitpuller/nbgitpuller/pull.py", line 211, in main
args.repo_dir
File "/Users/acody/nbgitpuller/nbgitpuller/pull.py", line 59, in pull
yield from self.update()
File "/Users/acody/nbgitpuller/nbgitpuller/pull.py", line 168, in update
yield from self.update_remotes()
File "/Users/acody/nbgitpuller/nbgitpuller/pull.py", line 105, in update_remotes
yield from execute_cmd(['git', 'fetch'], cwd=self.repo_dir)
File "/Users/acody/nbgitpuller/nbgitpuller/pull.py", line 41, in execute_cmd
raise subprocess.CalledProcessError(ret, cmd)
subprocess.CalledProcessError: Command '['git', 'fetch']' returned non-zero exit status 128.

any idea what I'm doing wrong?
also tried it from my jupyter singleuser pod .. same thing....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions