I am trying to push my code from Eclipse to git in my organisation TFS(Team Foundation Server). I have followed the link https://www.visualstudio.com/en-us/docs/git/share-your-code-in-git-eclipse to push the code. But while pushing the branch to tfs server I am getting error.
org.eclipse.jgit.errors.TransportException: http://***.*******.*******.***:****/tfs/****/****/**********/***/********: authentication not supported
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:488)
at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:387)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:154)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1200)
at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:197)
at org.eclipse.egit.ui.internal.push.ConfirmationPage$2.run(ConfirmationPage.java:209)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
I have tried various ways to find a perfect solution but till now I have not found any. Can anyone help me with this. Also would like to highlight the tfs remote repository already has a readme.md file, would that cause any issue while pushing the code. If yes can anyone provide a viable solution.
Note :- I need the solution which I can use in Eclipse to solve this issue.