Description
Build stage | Job | Error message | Category | Responsibility |
---|---|---|---|---|
Deploy Drupal | Deploy Branch to Acquia and Deploy Tag to Acquia jobs | In PushArtifactCommand.php line 100: [Acquia\Cli\Exception\AcquiaCliException] Pushing code was aborted because your local Git repository has uncommitted changes. Please either commit, reset, or stash your changes via git. | Application | Customer |
Potential cause
Directories are committed in the codebase. Git must ignore the directories so that Composer can add them during the build.
Solution
Update the .gitignore
file in the root directory of your project so that Git ignores the proper directories. The recommended .gitignore
file is located in this location.
If Git does not ignore the pushed or tracked files even after updating the .gitignore
file, run the following commands from the root directory of your project:
git rm -r --cached .
git add .
After executing the commands, the system displays all the files that are ignored by the current .gitignore
file in staged changes.
The system does not remove the files from your local machine during the commit process. The system removes the files from other developers' machines when they run git pull
.
Description
Build stage | Job | Error message | Category | Responsibility |
---|---|---|---|---|
Deploy Drupal | Build artifact from branch/tag |
| Platform | Customer |
Potential causes
The user is not a member of the Cloud Platform subscription.
The user's role in Cloud Platform does not have access to push code.
Cloud Platform has an issue.
Solutions
Confirm that the user is a member of the Cloud Platform subscription.
Confirm that the user's role in Cloud Platform has access to push code.
For more information, see Managing users, teams, roles, and permissions.
Verify that Cloud Platform does not have an issue.
For more information, see Acquia, Inc. Status.
Description
Build stage | Job | Error message | Category | Responsibility |
---|---|---|---|---|
N/A | N/A |
| N/A | Customer |
Potential cause
If you cannot push code from your Cloud IDE or local development environment to your Code Studio repository due to this error, you must update your git remote
to use the HTTPS URL instead of the SSH URL.
Solution
Update your git remote
to use the HTTPS URL of your repository.
To find the HTTPS URL:
To update your git remote
:
Remove the current git remote
from your Cloud IDE or local development environment.
If your remote name is origin
, run the following:
git remote remove origin
Add the new remote using the copied HTTPS URL.
If you want your remote name to be origin
, run the following:
git remote add origin <URL>
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Wed May 28 2025 09:03:26 GMT+0000 (Coordinated Universal Time)