Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retry checkout if it fails #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

retry checkout if it fails #30

wants to merge 1 commit into from

Conversation

ArsalanDotMe
Copy link

Often the deploy fails because the exact commit in the new deployed branch is not present as the child of the branch in local cache.

executing locally: cd /path/to/proj/.rsync_cache && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 5875782837e6ba2892903811c2c183fcd6749442 && git clean -q -d -x -f
fatal: Could not parse object '5875782837e6ba2892903811c2c183fcd6749442'.

Currently it continues like everything's fine but it needs to either stop or retry after deleting the local cache.

Often the deploy fails because the exact commit in the new deployed branch is not present as the child of the branch in local cache. 

```
executing locally: cd /path/to/proj/.rsync_cache && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 5875782837e6ba2892903811c2c183fcd6749442 && git clean -q -d -x -f
fatal: Could not parse object '5875782837e6ba2892903811c2c183fcd6749442'.
```
Currently it continues like everything's fine but it needs to either stop or retry after deleting the local cache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant