开发者

Why can't I commit my code to GitHub?

开发者 https://www.devze.com 2023-01-21 03:44 出处:网络
I have a coding project that I would like to maintain at GitHub. I went to http://github.com and created an account.

I have a coding project that I would like to maintain at GitHub.

I went to http://github.com and created an account.

I downloaded and installed Git on Windows 7 choosing the option to use it via the command line.

Through some googled tutorials I created an SSH key.

I'm following the following instructions:

Why can't I commit my code to GitHub?

But when I get to "git commit..." I get the following error.

Why can't I commit my code to GitHub?

What's my next step? Who has been down this path and can help me out? Who knows of a git tutorial for windows 7 that will work so I can get going? All I w开发者_运维技巧ant to do is get my code up, learn how to update it, and keep learning from there.


It's Windows, use double quotes for your description:

git commit -m "first commit"


Try using " instead of '


Try git commit -m "first commit" ... note the double quotes

0

精彩评论

暂无评论...
验证码 换一张
取 消