Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem Occurred Illegal char at index(Creating a local repository )
Problem Occurred Illegal char at index [message #1834900] Fri, 20 November 2020 05:26 Go to next message
Brett Gowder is currently offline Brett GowderFriend
Messages: 1
Registered: November 2020
Junior Member
In Windows 10, when I try to establish a user (Team > GIT > Configuration), I get the following error:

Problem Occurred Illegal char at index 26:/Users/ldc/git_remote/.git:/Users/ldc/git/.git:

It looks like there might be an issue with the path. Any ideas on how to fix?

From this video: Creating a local repository
LinkedIn Learning /eclipse-essential-training/creating-a-local-repository?u=2152601

Screenshot attached...

Re: Problem Occurred Illegal char at index [message #1834937 is a reply to message #1834900] Sat, 21 November 2020 07:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31780
Registered: July 2009
Senior Member
It's not clear where the path came from but ":" is the path separator for Linux while ";" is the path separator for Windows. So somewhere you're using the wrong path separator ':' and it's being interpreted as part of a file name rather than as separating two file names.

Ed Merks
Professional Support:
Re: Problem Occurred Illegal char at index [message #1834978 is a reply to message #1834937] Sun, 22 November 2020 17:20 Go to previous message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 326
Registered: August 2016
Senior Member
@Brett: you have an invalid git config file. I also don't understand why you have Linux paths on Windows 10. How did you create that repository?

Can you show the content of the git config file that contains these paths? (Would be either a file called ".gitconfig" in your home directory, or a file at .git/config in the repository.)
Previous Topic:i got a error message when i ran a program
Next Topic:A conflict occurred for CTRL+SHIFT+T:
Goto Forum:

Current Time: Sun Mar 07 10:16:08 GMT 2021

Powered by FUDForum. Page generated in 0.02686 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top