bash_kernel icon indicating copy to clipboard operation
bash_kernel copied to clipboard

can't use git push / git pull

Open ssokhey opened this issue 8 years ago • 2 comments

I was trying to create a jupyter notebook on git usage. But when I use:

git push origin master

It just keeps processing. It should actually ask the git username then password.

Is there any workaround for this or am I missing something?

OS: Linux 14.04.5

ssokhey avatar Jun 20 '17 08:06 ssokhey

See also #60 - it's a general limitation due to the way terminals work and the way Jupyter works. We can't tell when a subprocess is waiting for input. Sorry, I know that's a pretty big limitation for using bash.

The workaround for this case would be to set up ssh keys so you can push/pull without needing to type in a username and password.

takluyver avatar Jun 20 '17 09:06 takluyver

It's okay. I will set-up the ssh keys for git push/pull.

Thanks for the reply.

ssokhey avatar Jun 20 '17 15:06 ssokhey