Github CLI - Unable to find remote helper for 'https' - github

Github CLI is throwing the following error when I try to make a PR from the command line.
fatal: Unable to find remote helper for 'https'
exit status 128
I've tried the steps on this question and git clone works fine for me. I'm also able to see the status of PRs by using gh pr status
Does anyone have any ideas why this might be happening?

This is all set. After installing the library, I just needed to reboot my machine.

Related

Github FTP Deploy: fatal: Not a Git project? Exiting... On GitHub Actions Tab while running the workflow

I am trying to deploy my changes to live server using GitHub via ftp workflow but it keeps on failing on
'fatal: Not a Git project? Exiting...'
FTP-Deploy-Action Error Log:
Forced mode enabled.
Auto init if needed.
Using syncroot ./ if exists.
Insecure SSL/TLS connection allowed
fatal: Not a Git project? Exiting... <------------------------- fails from here
The process '/usr/bin/git' failed with exit code 8
>
I did 'git init' as stated in helpful articles but that didn't helped.
I re-clone the git repo and pushed the changes again and still having the same issue with the repo.
It was working fine until now.
Thank you for your time.
This was due to a docker image being updated and is now resolved. See the github issue for more information https://github.com/SamKirkland/FTP-Deploy-Action/issues/345
No updates to your github action are required to use the new (patched) version.
It's allready fixed :)
See here: https://github.com/SamKirkland/FTP-Deploy-Action/issues/345#issuecomment-1353339618

Github: Clone succeeded, but checkout failed (Problem with file name)

I am trying to clone a repository, but I run into the error mentioned below.
https://github.com/Sefaria/Sefaria-Export/issues/20
I am using the Ubuntu terminal and receive the same error.
Unfortunately, the issue is not being addressed.
Can someone suggest a way to bypass the error (or even skip the faulty file altogether) so I can make a clone of the repo?
Thank you!

I am getting error while pushing code to github using Github Desktop, Failed to push some refs

I am getting this error while pushing code to github using github desktop. I have attached the image.
So I was unable to push using github but found a way around. I have pushed code for this particular project using command line (git bash). Initially git bash was throwing the same error "failed to push some refs". It was my husky package, which was not allowing to push. I used the following command.
To push it forcefully, just run git push origin master --no-verify
And use this to check your problem I ran npm run prepush to see debug the error
Well I had some linting errors because of the theme I am using ngx-admin.
If I come across permanent solution after linting issue I will update this but this is working perfectly for now.
You can also see this post for reference. I got hint from one of the answers.
failed to push some Refs

Integrating GIT repository with Jenkins

When I am trying to give the Git URL in Jenkins source code management, I am getting this error:
Failed to connect to repository : Error performing command: git.exe ls-remote -h https://github.com/shivnathr/DevOPS1 HEAD
How can I avoid it?
Make sure your Jenkins is running as your account, and not as a service with a technical account.
That way, Jenkins will benefit from the same configuration as your account.
But first, check if you can, with your account, in a simple CMD shell session, execute that same command successfully:
git.exe ls-remote -h https://github.com/shivnathr/DevOPS1 HEAD
When you configure this in Jenkins, it gives this error. But if you ignore this error, does it then work for the build? Have you configured git tools in Jenkins? I am not sure if having git in the path for the user running Jenkins will work (it might), but if you configure a git tool, it should use the first tool in the list to find git. BUT, if the first tool is set to auto-install, then this problem can occur. Make sure the first git tool is just pointing to an installation on the machine. I believe this is a bug. I found this on one of my installations, but I have yet to open an issue for it.

An internal Exception occurred during push: cannot store objects

Hello I am new to Git and trying to setup server part and client part.
On a Server side I have ssh access and Git version 1.5
On a Client side I have eclipse with eGit.
I created git repo on a server side via usual means: git init and added simple html file.
Using eGit I checkout the repo and everything seems to be going well. I made changes on a client side, committed it and decided to push back to the server.
Now I have all permissions set but still get following error:
I don't know how to fix it and error message doesn't provide much details.
Please help.
Thank you!
For me, on Windows eclipse, I had an error like this:
An internal Exception occurred during push: github.com/***/***/service=git-receive-pack not found
I just reconfigured the eclipse and added my github account information and store it. Then it worked. Team->Remove->Configure push to upstream->URI, Change->Add authentication details
Ok, I resolved my issue following way:
1) I changed configuration for remote fetch and pull from sftp to ssh
2) Once I did step 1. I got different error:
When I tried to push changes from Terminal I got following:
git push origin
Password:
bash: git-receive-pack: command not found
fatal: The remote end hung up unexpectedly
3) Found answer to the above error: git-upload-pack: command not found, how to fix this correctly
4) On my old server path to the git is: "/usr/local/git/bin" So I added it to .bashrc file.
Once I done that, everything started to work:
The possible issues are:
1. The source code might not be committed in the first place. Please try committing and see.
2. There is some issue with github authentication. Please re authenticate the credentials and try using: Team->Remove->Configure push to upstream->URI, Change->Add authentication