Questions tagged [git-ls-files]

36 questions
0
votes
0 answers

git add wont stage files - git cache confused?

I have a feeling my git cache is getting confused fairly often. I work on Mac and use both git at terminal and SourceTree. I add or modify few files but I often notice that even files I have never modified in any way show as staged. This is very…
pixel
  • 6,765
  • 12
  • 60
  • 101
0
votes
1 answer

Dulwich cheat sheet: how to reproduce "git ls-files"?

Dear community members, I'm working on a code analysis system and would like to replace calls to CLI Git application with Dulwich module. As the first step I need to replace "git ls-files" command with Dulwich equivalent. I did it in the following…
Wladd
  • 11
  • 4
0
votes
1 answer

Is there a way to concretely know what files have been staged in the index matching the current commit?

Whether we use checkout or reset, when we jump from commit to commit, the index keeps matching the now-current commit. When I ask people how to see what files are staged in the index for the now-current commit, they tell me: git ls-files -s But git…
0
votes
1 answer

How can i resolve load issue on dataSources.ids?

Everytime I switch branches in Intellij Idea I got this error message,I am a newbie on Intellij IDEA.Anyone one to point me in right direction please? Failed to load data sources: .idea\dataSources.ids is corrupted. Backup copy…
Danny
  • 35
  • 1
  • 8
-1
votes
2 answers

`git ls-files` includes unmerged files thrice

For example: $ git status On branch master You have unmerged paths. (fix conflicts and run "git commit") (use "git merge --abort" to abort the merge) Unmerged paths: (use "git add ..." to mark resolution) both modified: …
Dmitry
  • 3,477
  • 2
  • 26
  • 28
1 2
3