Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (6.1k points)

While updating my sqlmap in Linux, I got the following error:

error pathspec did not match any files known to git.

I am very new to Git. Please help me out.

1 Answer

0 votes
by (11.7k points)

It totally depends upon the exact git command being used.

Let’s say, if you check out an un-fetched branch from your remote repo, then

Try first git fetch

After that git checkout yourBranch: if origin/yourBranch is still there, it will definitely work.

While checking out a file, pay attention towards case: it can be case-sensitive as well.

If you are unable to checkout .fatal: Then you are on a branch that is not born yet.

Please make sure you have added and right after that make one commit.

git add. git commit -m "first commit"

If you want to get more insights into SQL, check out this SQL Course from Intellipaat.

Related questions

Browse Categories

...