I have installed EGit and create a repo and push it to github using the following steps:
Step1:
Step2:
Step3:
Step4:
Step5:
Step6:
I get the following error:
Can't connect to any repository: https://github.com/mleoking/JavaGnuplotHybrid.git (https://github.com/mleoking/JavaGnuplotHybrid.git: error occurred during unpacking on the remote end: index-pack abnormal exit)
I have also tried to use ssh but it even does not allow me to pass step3. With http I can pass step3.
Thanks for help.
Found the problems by myself:
I simply deleted the git repository for my project and then create a fresh new git repository following this guide: http://wiki.eclipse.org/EGit/User_Guide/Getting_Started
And then still use the same steps, using https rather than ssl. I successfully committed it to github: https://github.com/mleoking/JavaGnuplotHybrid
I do not really know where was the problem. But eventually the above steps work.
Please use the ssh address of your repository. http is read-only.
git#github.com:mleoking/JavaGnuplotHybrid.git
On custom linux repos it could be a permissions error:
cd <path_to_git_folder.git>
chmod -R 777 *
Related
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
I cant clone anything from GitHub.Every time I add my credentials, instead of bein able to clone the repository as normal, I get a message that says that
This is not a valid repository
and then message below as well.
Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks
ls-remote https://github.com/lindar-joy/mrq-wallet.git
Output:
Error: Logon failed, use ctrl+c to cancel basic credential prompt.
I have tried the advice I found here, without any success:
https://github.community/t/git-clone-is-not-working-for-a-private-repo/501/3
Any suggestion would be much appreciated. Thank you in advance!
Do this (from inside Git Bash):
git credential-manager uninstall
then:
git credential-manager install
It may complain - for me it complained on both steps that it failed, but it fixed my problem.
I had the same problem for some time now but everything got fixed once I installed the new git version on my system.
Just visit this link
https://gitforwindows.org/
I managed to bypass the issue by using Github Desktop
I have created a repository on Github. I am using Windows 7 64 bit and Pycharm Community edition. I want to integrate the Github repository with pycharm but I am getting the error
Couldn't get the list of GitHub repositories
Connect to api.github.com:443 [api.github.com/192.30.252.127] failed: connect timed out
Although I am able to clone he same repository from command prompt using git clone command.
I had the same issue.
Configure your proxy if using one:
File->Settings->System Settings->HTTP Proxy
Another thing to try is to clone the project locally then add as new project in Pycharm. Afterwards I was able to do all git operations under VCS->git including add/commit/push for my project.
try to check whether you have given the path to Git executable correctly by testing it using test button next to it...(file>settings>version control>Git>path to Git Executable)
make sure you have given the git client path correctly..
C:\Program Files\Git\cmd\git.exe
I would like to configure my Mercurial project to be able to push it into gitHub repository.
While using command:
hg push git+ssh://git#github.com/myusername/myproject.git
I receive a msg:
abort: repository git+ssh://git#github.com/myusername/myproject.git
not found!
I already check and establish SSH connection, and it looks ok:
Hi myusername! You've successfully authenticated, but GitHub does not
provide shell access.
my respository url copied from github (it's a fork from other open-source project): https://github.com/myusername/myproject.git
What else I should check? Why I have an information that it doesn't exist while, in fact, it does? Where can be a problem?
Thanks to rfkortekaas I found a problem with hg-git setup.
In ~/.hgrc there has to be:
[extensions]
hgext.bookmarks =
hggit =
Are you sure that you have enabled and setup the hg-git extension correctly. This error also appears if the extension is not correctly setup.
Can you try it with a local git repository to phase-out github as a possible error.
I'm not sure you can push in Git if you didn't clone your repository from a Git one before using hg-git. It seems me that hg-git manages a .git locally.
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