Environment information
Describe the bug
2025-06-09T22:11:47.631Z [INFO]: # Switching to commit: 594ee38d67aa373560e38e1ea5aafbf0213f76ca
2025-06-09T22:11:47.642Z [INFO]: fatal: unable to read tree (594ee38d67aa373560e38e1ea5aafbf0213f76ca)
2025-06-09T22:11:47.695Z [INFO]: Successfully cleaned up Git credentials
2025-06-09T22:11:47.696Z [ERROR]: !!! CustomerError: Unable to clone repository due to user error code: 128
2025-06-09T22:11:47.696Z [INFO]: # Starting environment caching...
2025-06-09T22:11:47.696Z [INFO]: # Environment caching completed
Reproduction steps
Push a repo to amplify. The website is deployed. Do a hard reset to a previous commit and do a force push.
Environment information
Describe the bug
2025-06-09T22:11:47.631Z [INFO]: # Switching to commit: 594ee38d67aa373560e38e1ea5aafbf0213f76ca
2025-06-09T22:11:47.642Z [INFO]: fatal: unable to read tree (594ee38d67aa373560e38e1ea5aafbf0213f76ca)
2025-06-09T22:11:47.695Z [INFO]: Successfully cleaned up Git credentials
2025-06-09T22:11:47.696Z [ERROR]: !!! CustomerError: Unable to clone repository due to user error code: 128
2025-06-09T22:11:47.696Z [INFO]: # Starting environment caching...
2025-06-09T22:11:47.696Z [INFO]: # Environment caching completed
Reproduction steps
Push a repo to amplify. The website is deployed. Do a hard reset to a previous commit and do a force push.