-
Notifications
You must be signed in to change notification settings - Fork 20
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
Beware of ~/.git ! #25
Comments
I think I had to do this for my dotfiles to work around this issue - eed3si9n/dotfiles@54fe427 |
@eed3si9n If I understand, your workaround involves making For this issue, I think we'd have to make I'll give it a shot over the weekend. |
That was just my workaround. For the actual fix on sbt-ghpages, would specifying the working directory solve the problem?
|
sbt-ghpages is great; however, there's an annoying behavior.
Suppose we have the following:
~/.git
-- i.e., the home directory is a GIT project~/.sbt/ghpages
/opt/local/stuff/MyProject
Then, in
/opt/local/stuff/MyProject
, executesbt ghpagesPushSite
The generated site will be pushed to the remote of
~/.git
instead of/opt/local/stuff/MyProject/.git
A workaround is to move all GIT repos in any parent folder of
~/.sbt/ghpages
to avoid GIT picking up an ancestor folder's repository.It would be nice if the GIT commands issued by sbt-ghpages could be made robust against repositories in parent folders.
The text was updated successfully, but these errors were encountered: