新建项目的自述文件。
在您可以使用 Git 的所有功能之前,您应该先做几件事:
给这个项目添加一个远程:在Cloud9 IDE命令行中,可以执行以下命令git remote add [remote name] [remote url (eg. 'git@github.com:/ajaxorg/node_chat')] [Enter]
在项目中创建新文件
通过执行以下命令将它们添加到 Git 中git add [file1, file2, file3, ...] [Enter]
创建一个可以推送到您刚刚添加的远程的git commit -m 'added new files' [Enter]
推送提交远程git push [remote name] master [Enter]
就是这样! 如果这对您不起作用,请访问的优秀资源和书籍。 如果您在那里找不到答案,请随时通过 Twit