在 GitHub 上发布项目

Publishing a Project on GitHub

我想用这种方式将我的项目上传到GitHub (Source):

To publish you project sources on GitHub

  1. On the main menu, choose VCS | Import into Version Control | Share Project on GitHub .

    • If you have registered login and password, PhpStorm establishes connection with GitHub using these credentials.
    • If you have not registered your GitHub credentials in PhpStorm, the Login to GitGub dialog box. Specify your GitHub login and password or create an account there.
  2. Upon establishing connection, the Share Project on GitHub dialog box opens. Specify the name of the repository to store your project sources in. By default, PhpStorm suggests the name of the current project. Provide a brief description of the project functionality. Click the Share button. PhpStorm initiates creation of the new repository on the GitHub and uploads the project sources to it.

第一步成功,添加了我的 GitHub 登录数据,测试连接,成功。 现在在第 2 步中,在 GitHub link 上单击共享项目后出现此错误:

  • Error Running Git.

Cannot run program "git.exe": CreateProcess error=2, The system can not find the file specified

我需要做什么才能完成这项工作?

OS貌似Windows但是什么版本?

这可能是您需要的东西:I can't find my git.exe file in my Github folder