git folder not being recognized
See original GitHub issueThis is with jupyterlab
0.31.1 and the latest master of jupyterlab-git
.
In the terminal I’m seeing 404 messages of the form:
[W 15:45:45.040 LabApp] 404 POST /git/API?1516772745105 (10.200.18.81) 4.00ms
[W 15:45:52.422 LabApp] 404 POST /git/API?1516772752486 (10.200.18.81) 4.00ms
[W 15:45:52.851 LabApp] 404 POST /git/API?1516772752917 (10.200.18.81) 3.99ms
[W 15:46:00.031 LabApp] 404 POST /git/API?1516772760098 (10.200.18.81) 4.00ms
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (13 by maintainers)
Top Results From Across the Web
Github doesn't detect new folder - Stack Overflow
Git will ignore empty folders. Make sure at least one file is present in the new folder in the Git repository, or else...
Read more >can't add folder in git - Super User
I went to that folder and remove non needed files (folders) and .git folder too. I checked git status, nothing strange. Then commit...
Read more >Git error - Fatal: Not a git repository and how to fix it | Datree.io
A Git command needs to be run on a specific repository, so this error typically occurs when a Git command is run in...
Read more >[SOLVED] Newly created folder not added to GIT?
My git repository seems to be local. Looking at the folders in Windows file explorer, and I see folder with ticks and exclamation...
Read more >Git doesn't recognize my local repo out of nowhere - Reddit
Now out of nowhere Git just won't recognize the folder as a git repo anymore! The . git folder is still there.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dunjoye4real I made a PR(#210) which uses the server
server_root_dir
setting instead ofos.getcwd()
.This worked for me when launching using the
--notebook-dir
option.I have the same issue with Git tab looking in the wrong folder. I tried to use open terminal from
Git
menu and i figured out jupyter-lab is referencing from/home/username/
which apparently, i started jupyterlab from that path, fine. I did agit init
in this same folder/home/username/
but jupyterlab-git could not still recognise the folder as a git repository even after multiple restart. I could do allgit
task in this repository but jupyterlab-git extension can’t recognise it as a git repository. Kindly, @zzhangjii @AmadeusSG @hjalmarlucius does anyone know a fix for this issue?Also is there anyway to point jupyterlab-git to
--notebook-dir
if i had specify my--notebook-dir
when starting jupyterlab?