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

Fails with "Not a git repository" #30

Closed
acgetchell opened this issue Jan 2, 2015 · 4 comments
Closed

Fails with "Not a git repository" #30

acgetchell opened this issue Jan 2, 2015 · 4 comments

Comments

@acgetchell
Copy link

┌─[adam][Hapkido][/blog]
└─▪ pelican content -o output -s pelicanconf.py
WARNING: Empty alt attribute for image mimetex.cgi?G_%7B%5Calpha%20%5Cbeta%7D%20=%20T_%7B%5Calpha%20%5Cbeta%7D in /Users/adam/blog/content/new-direction.md
Done: Processed 32 article(s), 0 draft(s) and 0 page(s) in 0.90 seconds.
┌─[adam][Hapkido][
/blog]
└─▪ ghp-import output
Usage: ghp-import [OPTIONS] DIRECTORY

ghp-import: error: Not a git repository (or any of the parent directories): .git

The documentation indicated that the branch is created automatically?

http://docs.getpelican.com/en/3.5.0/tips.html

The output directory is a git repo:

┌─[adam][Hapkido][~/blog]
└─▪ ghp-import output
Usage: ghp-import [OPTIONS] DIRECTORY

ghp-import: error: Not a git repository (or any of the parent directories): .git

┌─[adam][Hapkido][/blog]
└─▪ cd output
┌─[adam][Hapkido][±][master ✗][
/blog/output]
└─▪ gs
On branch master

Initial commit

Changes to be committed:
(use "git rm --cached ..." to unstage)

new file:   Test.html
new file:   archives.html
new file:   are-we-living-in-simulation.html
@dacbarbos
Copy link

I just hit the same issue with: make github.

ghp-import: error: Not a git repository (or any of the parent directories): .git

@nflo47
Copy link

nflo47 commented Jun 14, 2015

what was the solution here ? i am getting the same error "ghp-import: error: Not a git repository (or any of the parent directories): .git" when running the command from my main directory

@davisp
Copy link
Collaborator

davisp commented Jun 16, 2015

What does git status give you?

@davisp
Copy link
Collaborator

davisp commented Dec 16, 2016

Closing because its way old.

@davisp davisp closed this as completed Dec 16, 2016
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

3 participants