J.Joe J.Joe - 1 year ago 238
Git Question

How to update Sqlmap with git?

I'm try to update my sqlmap in the Linux. But I get the error like this :

error pathspec did not match any file s known to git.

I'm just a freshman, and I am not too familiar with Git.
How can I get past this error?

Answer Source

It depends on the exact git command you are using.

For instance, if you checkout a branch you have not yet fetched from your remote repo, try git fetch first.
Then git checkout yourBranch: if origin/yourBranch exists, it will work.

If you checkout a file, pay attention to the case: it can be case-sensitive.

I can't checkout .fatal : You are on a branch yet to be born .

Make sure you have added and make at least one commit.

git add .
git commit -m "first commit"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download