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

Not a git repository error #146

Closed
lewismj opened this issue Mar 15, 2017 · 4 comments
Closed

Not a git repository error #146

lewismj opened this issue Mar 15, 2017 · 4 comments

Comments

@lewismj
Copy link

lewismj commented Mar 15, 2017

Hi,
I can run sbt makeMicrosite locally without any issues - thank you btw. Site looks great.
I have setup my gh_pages branch as per the sbt ghpages plugin.

When I try to run publishMicrosite, I run into this error:

[info] Auto-regeneration: disabled. Use --watch to enable.
[error] fatal: Not a git repository (or any of the parent directories): .git
java.lang.RuntimeException: Nonzero exit code (128) running git.
at scala.sys.package$.error(package.scala:27)
at scala.Predef$.error(Predef.scala:142)

Anyone know what the issue might be?

@lewismj
Copy link
Author

lewismj commented Mar 16, 2017

n.b. the .git folder obviously exists!

@lewismj
Copy link
Author

lewismj commented Mar 16, 2017

resolved, just had to re-clone the repo.

@lewismj lewismj closed this as completed Mar 16, 2017
@joan38
Copy link

joan38 commented May 29, 2018

Have the same issue right now and recloning didn't help.

@joan38
Copy link

joan38 commented May 29, 2018

Resolved by removing ~/.sbt/ghpages/xxxx.
See: sbt/sbt-ghpages#14 (comment)

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

No branches or pull requests

2 participants