Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7914575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:09:57+00:00 2026-06-03T14:09:57+00:00

I have a problem with my git repository, and I’m not sure weather the

  • 0

I have a problem with my git repository, and I’m not sure weather the problem is me not using it correctly or if it is some kind of bug …

I am using git 1.7.9. inside cygwin.

My problem is that I can’t see log history of a file (any file). Let’s say I want to see history of a file called index.php. I type this:

git log -p index.php

But there’s not response. Git just closes. When I try this:

git blame index.php

I get “00000000 (Not Committed Yet 2012-05-10 19:27:07 +0200 1)” for every line in that file. But that file WAS commited many time before. Am I doing something wrong or is maybe my git repository corrupt ?

Any ideas are welcome 🙂 Thanks!

EDIT:

Here’s output of status and ls-files commands:

$ git status
# On branch master
nothing to commit (working directory clean)

xx77abs@Ferdo ~/gaudeamus_ipad/HTML
$ git ls-files
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:10:00+00:00Added an answer on June 3, 2026 at 2:10 pm

    So to answer my own question …
    First I want to thank larsks, because his asking for git ls-files output gave me idea of what’s wrong …

    My git repository is in gaudeamus_ipad folder. Inside that folder, I have folder called HTML. Initially it was called html, but somewhere along I renamed it into HTML. After I’ve executed “git ls-files” in HTML folder, I got nothing. Then I went one folder up and executed “git ls-files” again. This is part of the output:

    html/index.php
    

    As you can see, here HTML folder is spelled lowercase. I’ve also noticed that in cygwin I can enter folder HTML by using “cd HTML” and “cd html” commands. But when I enter it using “cd HTML”, git isn’t working properly. When I enter it using “cd html”, git is working as it should. I guess it’s some kind of cygwin bug (although I’m not sure if this can be classified as a bug) …

    Anyway, that’s how I solved my problem. Thanks everyone!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

everybody, I have some problem related to the jenkins and git. I created a
I have just created my first git repository for some software my company writes.
I have some trouble with a git repository that contains several submodules. The super
I have a git repository with some commits in it. I want to reproduce
I have a git repository on a company network drive and had no problem
I am trying to install git on a server and have some problem when
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
i have problem to correctly bind data to WPF Chart. When i'm setting ItemsSource
I've got a project in a git repository that uses some custom (and so
I have a Hudson server, and a git repository, both running on our server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.