I've stated this in the comments to another answer, but it's really the answer (and I've edited the appropriate section of the comments into the question where it belongs).
The URL for the remote was not configured correctly, for whatever reason. It's set to "[email protected]:", which is clearly missing the path, producing precisely the error you see. You need to reconfigure it correctly. You could simply edit .git/config
, changing the appropriate line to contain the path. Or you could do this:
git remote rm origin
git remote add origin '[email protected]:rosdabos55/sample_app.git'
You almost certainly made some small typo or careless mistake when you added the remote the first time - perhaps you hit enter in the middle of it, perhaps you typed a space after the colon. (For some reason, git does not appear to throw an error when you provide an extra argument after remote add <name> <url>
- it just ignores it.) The upshot is that you didn't actually run that command, and you added a remote with an incomplete URL.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…