1

I'm pushing all these files into a repo, no problems after my last 4-5 pushes. But then I commit a bunch of new images that I've uploaded and then when I try to push them I get an error:

"fatal: No path specified. See 'man git-pull' for valid url syntax (128)"

I'm new to Github and I just want to get a better understanding of this error, what does it mean, what's going on? and what steps do I need to take to fix this myself

MarkToast
  • 19
  • 2
  • 4

1 Answers1

2

Check your git remote -v output.

As mentioned in "git push origin master returns “fatal: No path specified.", the url might not be correct anymore.

If that is the case, this could fix it:

git remote set-url origin https://github.com/<yourLogin>/<yourRepo>

The other case is when you don't add (and commit) anything before pushing (which shouldn't be your case).

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • how do I do that? Instead of the terminal, can I edit the files directly instead of comman line interaface? – MarkToast Feb 26 '15 at 07:21
  • @MarkToast simply type `cd /path/to/my/repo ; git remote -v output` i na terminal – VonC Feb 26 '15 at 07:23