You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
I was following the example code from https://pantheon.io/docs/guides/build-tools/create-project/ and on the step ( terminus build:project:create d8 my-project-name ) I ran into the error ( Error - Command git -C _path_ commit -m 'Initial commit' failed with exit code 1 ).
From the logging that goes on I can see that it passes:
Creating GitHub project
Call GitHub API
Creating project and resolving dependencies (with suggesting for installing components)
Creates repository
Call GitHub API
Runs git init, followed with success message
Runs git remote add
Creates site 'site' in org ' ' with upstream empty
Creates a new Pantheon site 'site'
Deploys empty to Pantheon site (this step is one of my concerns)
Deploys CMS
Creates a new Pantheon site with UUID 'UUID'
Runs git add (followed my a load of warnings about line endings)
Runs git commit
Then it says:
error: pathspec 'commit'' did not match any file(s) known to git
[error] Command git -C _path_ -m 'Initial commit' failed with exit code 1
I checked to see if git had been initialised in the directory specified in the log and it appears it hasn't. When I entered the specified directory there is a .git directory but git commands do not work within it.
I checked to see if my GitHub has a new repo as the log mentioned it passed that, and it does not appear to to be there either.
The pantheon dashboard also does not show any more sandbox sites.
I should mention I'm doing this on a windows PC running the commands on MinGW64. On thing I did notice on the log is the path is 'C:\Users\me\etc/site-name' I'm not sure if this is the cause of the error or not, but though it worth noting it here.
Any guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
JonathanSimonJones
changed the title
Error - Command git -C path commit -m 'Initial commit' failed with exit code 1
Error from running terminus build:project:create d8 my-project-name - Command git -C path commit -m 'Initial commit' failed with exit code 1
Nov 9, 2018
Are you running on Windows? There are a number of Windows-related bugs in Terminus core; the build tools plugin is untested on Windows. Your problem looks like an escaping bug.
Windows users are advised to run Terminus in a Linux vm.
I was following the example code from https://pantheon.io/docs/guides/build-tools/create-project/ and on the step ( terminus build:project:create d8 my-project-name ) I ran into the error ( Error - Command
git -C _path_ commit -m 'Initial commit'
failed with exit code 1 ).From the logging that goes on I can see that it passes:
Creating GitHub project
Call GitHub API
Creating project and resolving dependencies (with suggesting for installing components)
Creates repository
Call GitHub API
Runs git init, followed with success message
Runs git remote add
Creates site 'site' in org ' ' with upstream empty
Creates a new Pantheon site 'site'
Deploys empty to Pantheon site (this step is one of my concerns)
Deploys CMS
Creates a new Pantheon site with UUID 'UUID'
Runs git add (followed my a load of warnings about line endings)
Runs git commit
Then it says:
error: pathspec 'commit'' did not match any file(s) known to git
[error] Command
git -C _path_ -m 'Initial commit'
failed with exit code 1I checked to see if git had been initialised in the directory specified in the log and it appears it hasn't. When I entered the specified directory there is a .git directory but git commands do not work within it.
I checked to see if my GitHub has a new repo as the log mentioned it passed that, and it does not appear to to be there either.
The pantheon dashboard also does not show any more sandbox sites.
I should mention I'm doing this on a windows PC running the commands on MinGW64. On thing I did notice on the log is the path is 'C:\Users\me\etc/site-name' I'm not sure if this is the cause of the error or not, but though it worth noting it here.
Any guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: