GitHub clone issue in Ubuntu - linux

How to solve this error
fatal: unable to find remote helper for 'https'
while cloning to Github
The command I used was: github clone "https:/.....link"
I have tried different solutions but no gain.

Do you mean : git clone instead of github clone ?
You can check related issue : "Unable to find remote helper for 'https'" during git clone

Related

How can I add my full, root Ubuntu 20.04 CLI server to a GitHub Repo for versioning, etc.?

Is this a bad idea or is there a better way of approaching version control for my whole dedicated server?
My first attempt was git init and git push but I couldn't resolve error:
error: src refspec main does not match any
error: failed to push some refs to 'main'
I tried several fixes and workarounds from StackOverflow.
So then I tried creating a repo from GitHub.com with just a test file, then cloning it, cd /, git add ., etc.. but I keep running into errors with it too.
fatal: destination path '.' already exists and is not an empty directory.
..is what I get after running git clone git#github.com:hero/128GB.git .
Any ideas on what I should do next? If I should continue this path or is there a better approach at version control for a server?

GitLab git clone

I have the following problem: I try to clone a project in GitLab using the Git command console (Git CMD) and it gives me an error, because it asks me for the permission of an unknown user. It is worth mentioning that the problem occurs with any project that you want to clone from GitLab. It always presents the same error. I attached the error capture to help me please! Regards.

Eclipse egit Error when trying to fetch or push

I'd cloned some respositories from github to my local machine (linux x86 32 bit kubuntu 12.04).
In general, I do clone from command line and then connect to eclipse using git perspective and
"add existing local git repository to this view".
After that, I'm able to import projects (from working directory), performing commit and something else.
But when I try to fetch or push against the remote repository, I got some different error messages.
When trying to fetch, I got the error message: Invalid remote: origin
And when I try to push, I got something like: https://github.com/Joe-Merten/Playground: https://github.com/Joe-Merten/Playground/info/refs?service=git-receive-pack not found
Fetch and push via egit definitively has worked until about 10 days ago.
Fetch and push from linux command line is still working without problems.
When trying to clone using eclipse egit, I also got an error like: https://github.com/…/refs?service=git-receive-pack not found
I tried that out with eclipse 4.2 SR2 (Juno) and 4.3 SR2 (Kepler) and 4.4-M6 (Luna Prerelease) on some different linux machines.
Any suggestions?
This could be a credential issue, as mentioned in "An internal Exception occurred during push: cannot store objects":
I just reconfigured the eclipse and added my github account information and store it.
Then it worked.
Team->Remote->Configure push to upstream->URI, Change->Add authentication details
The other classic issue is a capitalization problem in the url ("git-upload-pack not found"), but if it is working from the command line, this shouldn't be the case here.
Ok, it seems that I'd ran into the .git suffix issue.
Solution: I have to add .git to the URI.
Like Lars Vogel wrote in this nice article here: Copy the URL from Github and …,
I'd just used that URI without adding the .git suffix.
So, I'd performed clone like:
$ git clone https://github.com/Joe-Merten/Playground
and that configures my clone to have the following remotes:
$ git --git-dir=Playground/.git remote -v
origin https://github.com/Joe-Merten/Playground (fetch)
origin https://github.com/Joe-Merten/Playground (push)
This way causes the described error messages.
But when I add that .git suffix to the URI:
$ git clone https://github.com/Joe-Merten/Playground.git
my remotes will also have .git suffix
$ git --git-dir=Playground/.git remote -v
origin https://github.com/Joe-Merten/Playground.git (fetch)
origin https://github.com/Joe-Merten/Playground.git (push)
Using this way, egit works as expected.
Looks like that (with or without .git suffix) don't matters as long as I using git from command line.
But when using egit as frontend, this is obviously important.
(Hmm, wondering why that was not a problem until about middle of March 2014.)

Github cloning fatal remote error

I am currently trying to clone from GitHub, and am met with an error:
git clone git://github.com/StevenHickson/PiAUISuite.git
Cloning into 'PiAUISuite'
fatal: remote error:
repository not found.
How do I go about cloning this?
You cannot use the SSH link (git:// protocol, the git#github.com thingy) for this particular repository because it isn't allowed, as we can see on the github page.
Use the HTTPS link.
git clone https://github.com/StevenHickson/PiAUISuite.git

Checking out from a git tree

I need to checkout this libunwind port for FreeBSD,
http://people.freebsd.org/~kib/git/libunwind.git/
I've never used git before and when i tried to checkout using the command
git checkout http://people.freebsd.org/~kib/git/libunwind.git/
I get the following error,
fatal: Not a git repository (or any of the parent directories): .git
What should I do to fix this?
Following should do it:
git clone http://people.freebsd.org/~kib/git/libunwind.git/
If you are coming from svn background, read this.
You should read a basic tutorial on git before trying to use it. Git is not a centralised system. You should clone if you want to get a repository.
You're supposed to clone it, no? It will create a copy onto your system:
git clone http://people.freebsd.org/~kib/git/libunwind.git/ local-dir

Resources