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

Add useful error message when checking out a branch that hasn't been fetched #44

Closed
billiegoose opened this issue Jan 13, 2018 · 2 comments
Labels

Comments

@billiegoose
Copy link
Member

billiegoose commented Jan 13, 2018

See #43

The error reported is:

Failed to read git object with oid e1593a418bbf61846ce6f044bd01c9cd3cde2004

isomorphic-git needs to be smart enough to realize what has happened and say something like

Error: Tried to checkout a branch that isn't available locally - do git.fetch({ref: 'gh-pages'}) to make the branch available locally"
@billiegoose
Copy link
Member Author

🎉 This issue has been resolved in version 0.9.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@isomorphic-git-bot
Copy link
Member

🎉 This issue has been resolved in version 0.35.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants