aws / git-remote-codecommit

An implementation of Git Remote Helper that makes it easier to interact with AWS CodeCommit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails with space in directory name

james-garriss opened this issue · comments

When using git-remote-codecommit to fetch or push code (or presumably any other command), I get this error:

fatal: 'remote-codecommit' appears to be a git command, but we were not
able to execute it. Maybe git-remote-codecommit is broken?
make: *** [git-push] Error 128

The problem is that my directory had a space:

/Users/myname/Documents/Coding/AWS CDK/myproject

When I removed the space from "AWS CDK" directory, it worked.

Please fix this package to support spaces in directory names.

(This is on macOS.)

@james-garriss I tried this (cloning a repo inside a path having space) on Windows, it's working fine there. Maybe this issue is specific to MacOS.