1

Tried right-click "Add" on the TortoiseGit menu from the root of my project, and I see this error: "Fatal: empty string is not valid pathsepc. please use . instead if you mean to match all paths. enter image description here

Part 2 - can I do a recursive add from all subdirectories?

4
  • Possible duplicate of Unable to check diffs with TortoiseGit: "fatal: empty string is not a valid pathspec" Commented Apr 5, 2018 at 14:57
  • Maybe different cause, but same symptom/reason. I am on Tortoise Git 2.5.0 and git version is 2.16.1 (for windows) Commented Apr 5, 2018 at 15:03
  • That's exact the very same procedure called in TortoiseGit which fails here. Commented Apr 5, 2018 at 15:03
  • I upgrade to 2.6 and seems like the problem went away. Commented Apr 5, 2018 at 15:06

2 Answers 2

4

See https://stackoverflow.com/a/48457419/3906760:


TortoiseGit 2.5 is not yet fully compatible to Git >= 2.16. See https://TortoiseGit.org and the corresponding bug report: https://TortoiseGit.org/issue/3138

Use the latest stable version of TortoiseGit: https://tortoisegit.org/download/

Sign up to request clarification or add additional context in comments.

Comments

1

Installing Tortise Get 2.6 solved the problem.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.