Internal error while accessing GIT repository from RSA 9.1 using TFS plug-in - eclipse

I am able to connect to GIT server from RSA 9.1 using the TFS plugin.However, while accessing the Git repositories, I am getting the following internal error:
An internal error occurred during: "Loading section 'All
Repositories'". org/eclipse/egit/core/Activator "
Any idea what am I missing?

You can get a local clone of the remote repository and then import the repository
Or you can host your remote repository in TFS, then manually configured in EGit. Once this connection is established, you can use the EGit tools to perform basically any Git function, like committing, pushing, and creating new branches.
Details refer the 'Integration with Eclipse EGit tools' in this blog.
And you can download egit from here.

Related

TFS-Git - An exception occurred during push on URI: 401 Unauthorized

I'm getting an error while pushing the git project to master on Eclipse. I am using Eclipse Neon.1 and trying to connect to TFS-Git repository. I am able to push and pull from the same repo using cli tools but eclipse troubles me. Here is the error message
An exception occurred during push on URI
https://tfs.[mydomain].com/tfs/Test_Collection_Report/_git/TFS_GIT_Training:
https://tfs.[mydomain].com/tfs/Test_Collection_Report/_git/TFS_GIT_Training:
401 Unauthorized
Using the Team Explorer plugin for Eclipse, I am able to connect to the repository. I have followed the fix mentioned here, but no luck yet. Any idea whats blocking me from pusing to git through eclipse? Here are my guess,
Windows git and EGit conflict
Eclipse not considering my credentials while connecting to git.
Any suggestion on how to fix it?

How to setup Eclipse EGit to connect to the MS Team Foundation Server without authentification error?

I am running a Ubuntu x64 in a VM. In the company network is a TFS which holds git repositories. When using git via command line I can easily clone the repros? When switching to Eclipse and using EGit it fails with:
"http://tfs:8080/tfs/myPrj: authentication not supported:
http://tfs:8080/tfs/myPrj: authentication not supported"
When I install the MS TFS Eclipse plugin I get the same error. Any idea how to solve this?
Check Alex Rukhlin's reply in this post:
The fact that EGit Import Wizard cannot clone the Git repository from
TFS, either tells me that the issue is in that JGit functionality that
both (TEE and EGit) wizards use.
We're digging into the problem trying to figure out if it's fixed in
some of recent EGit/JGit versions.

LAN svn server visualsvn

I am trying to create a svn repository over local area network.
I am using VisualSVN server software to do this.
I created a new repository and it automatically sets repository as
http://mainframe/svn/ruby
I obviously chose the ruby folder name.
When I connect to this repository on the computer that is hosting the server, I get no problems.
But my problem comes when I try to check out the project into eclipse on my laptop.
It seems to connect properly to the repository. I can browse the repository in eclipse on my laptop.
But when I try to import project from SVN I get the error.
SVN: E175002: PROPFIND 'svn/ruby': See other (http://Mainframe).

Error in EGIT in checkout from SpringSource repository

I am using Eclipse GIT (EGIT) to check out from
https://github.com/SpringSource/spring-mvc-showcase
After trying to clone the repository I am receiving the error:
https://github.com/SpringSource/spring-mvc-showcase: https://github.com/SpringSource/spring-mvc-showcase /info/refs?service=git-upload-pack not found
Please, check
Network Connection settings
Network Connection -> SSH2 Eclipse Preference
This error is caused by not having the latest version of git due to updates in the server-side application. I recommend trying to access it through a different protocol (git:// or ftp) if possible. Otherwise, just check for updates in the egit plugin.
Update:
I have learned for a fact that github supports the git protocol. You can use
git://github.com/SpringSource/spring-mvc-showcase.git
as the repository. (If egit asks for a protocol separately from the URL, change it from https to git).

egit plugin for Eclipse

I have created a gitlab repository and followed the installation instruction by the letter and it was successful (i think... i can browse the repository online) and now I want to connect the egit plugin from eclipse to this remote repository.
I was using SVN for quite some time and now we need to switch to git and I am confused. egit only gives me the option to create a local repository but I'm a bit lost on how to push/fetch code to my online repository.
Any advice will be greatly appreciated :)
Thanks!
With Gitlab (working with ssh urls), that means you have to register your public and private ssh key in Egit first before being able to clone it.
See EGit ssh configuration
Then you can clone it.
And yes, you need to clone the full repo locally to work on it, that is the difference between a:
CVCS (Centralized Version Control System) like SVN
DVCS: Distributed Version Control System.
See "Sell me Distributed revision control" and "Describe your workflow of using version control (VCS or DVCS)" for more.
First you need to clone the remote repository using git clone <repository>, then you can import it to eclipse using egit
Or
You can use the clone functionality provided by EGit to clone the remote repo to local system