oh-my-bash icon indicating copy to clipboard operation
oh-my-bash copied to clipboard

Pushing to git Repo Fails with Default Oh My Bash Installed on Host

Open kerns opened this issue 5 years ago • 2 comments

I never would have imagined that playing with the shell env of my host would impact the ability of a git repo on the same machine to receive data – but after an hour of debugging that definitely seems to be the case.

fatal: protocol error: bad line length character: ?[01
fatal: the remote end hung up unexpectedly

It was this thread that finally clued me in that this could even be a thing.

https://github.com/Bash-it/bash-it/issues/1032

I disabled the two plugins that OMB enables by default but it didn't resolve my issue. Only uninstalling OMB did. Which I was sad to do. Would be happy to reinstall and help debug if you've got any ideas or want some more complete log data.

kerns avatar Jan 12 '20 16:01 kerns

What is your shell? And what is your current theme?

nntoan avatar Jan 21 '20 06:01 nntoan

I have uninstalled it but I believe I was using Pete and the shell on my server is GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)

kerns avatar Jan 21 '20 08:01 kerns