Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Set git-credential-manager.exe path - Error introduced with update 2.6.6.0 Edited

Since the new update 2.6.6.0 I cannot fetch, push or pull anymore.
I always get

C:/Users/Thomas: line 1: syntax error near unexpected token `('
C:/Users/Thomas: line 1: `[23C0:232C][2016-12-18T13:06:59]i001: Burn v3.7.2002.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualC.Redist.12,version=12.0.21005,chip=x64\vcredist_x64.exe, cmdline: '/q /norestart /log C:\Users\Thomas Flinkow\AppData\Local\Temp\dd_setup_20161218124046_407_Microsoft.VisualC.Redist.12.log -burn.unelevated BurnPipe.{36C00955-38E5-484D-8567-FF727B2DF90C} {CA205743-F988-4A86-BD25-CEBE5D43A9BB} 9360''

I was able to narrow down the search for the cause of the  error and found out that it is due to a whitespace character in my user folder name, i.e. this is the fetch command

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c "credential.helper=C:/Users/Thomas Flinkow/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe" fetch --prune --tags origin

And the error occurs because of the whitespace character in

credential.helper=C:/Users/Thomas Flinkow/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe

The error did not occur before the update and I need to find a fix as soon as possible to continue with my work.

I thought about simply moving the git-credential-manager.exe to another location not containing whitespace characters, but I could not find an option to specify its path in Sourcetree.

How can I set the git-credential-manager.exe in Sourcetree? I do not want to have to use the console whenever I want to fetch, push or pull. As it is right now, Sourcetree is almost unusable.

1 answer

1 accepted

1 vote
Answer accepted
minnsey Atlassian Team Jun 14, 2018

Hi

Yes unfortunately we didn't pick up that use case in our testing.

We have a fix in progress, for now I would suggest downgrading to v2.5.5 https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.5.5.exe 

and watching for updates https://jira.atlassian.com/browse/SRCTREEWIN-8777

This is still an issue in version the latest version 2.6.6. I have the EXACT same problem as described by the gentleman above, a white space in the path to my user folder. In my case C:\Users\Stephen Peterson

Once downgrading to v2.2.5, everything is OK

minnsey Atlassian Team Jun 27, 2018

If you upgrade to 2.6.9 it should now be fixed.

Had the similar problem with "git-credential-manager.exe"  but not the same. Sorry just can't delete the comment.

In case of changed password app didn't prompt for the new one, just reports about faulted attempts of the pull command. (2.6.6, 2.6.9)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,335 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you