-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Crashes on new branch #57
Comments
Are you available to contribute? |
Yes, starting today 🙂 |
Hey, y'all. Would love to use this; am running into the same issue here. I also have my branches on both my
Would be great to run this locally without regard to what's going on with my remote branches. Thanks! |
Note:
So that's a workaround for those following. Still I'd like to avoid this error when the remote branch is not being tracked in this way; IMO the operation should simply run off the local filesystem. |
When creating a new branch, which consequently has no remote branch, I get this behavior:
This has previously been noted in #27 but closed without change. I think, this is undesirable behavior.
I'd like to get a more understandable error message instead of an exception, if failure is the expected behavior for new branches. Ideally, I'd like this to work for new branches as well, but since
git
itself won't setup tracking without the remote branch, that's probably out of scope forgitdown
.It would be nice to get a warning if no URLs are needed, but an error when this prevents building.
Also, when the README file cannot be updated, gitdown should fail with a non-zero exit code. My use-case is that gitdown updates my README.md from a README.src.md via commit hook. If that goes through despite not doing its work, that is a recipe for disaster.
The text was updated successfully, but these errors were encountered: