You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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....
The text was updated successfully, but these errors were encountered:
I just had this problem. Fixed it (I think) by running a git init in the directory that I was pulling into so that there is at least a .git set up in there.
If anybody lands here because they are using jupyter-books and the launch buttons are not working properly: I fixed this issue by removing the trailing "/" of the repo-url in my _config.yml file.
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....
The text was updated successfully, but these errors were encountered: