8000 Beware of ~/.git ! · Issue #25 · sbt/sbt-ghpages · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Beware of ~/.git ! #25
Open
Open
@NicolasRouquette

Description

@NicolasRouquette

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
  • no ~/.sbt/ghpages
  • an sbt-ghpages configured project elsewhere, e.g. /opt/local/stuff/MyProject

Then, in /opt/local/stuff/MyProject, execute sbt 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0