Several issues of submitting projects to github with Android Studio

1. How to use AS to submit a project to Github?
  • Mainly refer to this article: http://web.gxzj.com.cn/News.aspx?id=325505
  • There are some detailed explanations and additions as follows:
  1. Download Git address: http://www.git-scm.com/download/win
  2. Configure Git environment variables: add the bin directory and git-core directory in the Git installation address to the path. Mine are: C:\Program Files\Git\bin and C:\Program Files\Git\mingw64\libexec\git-core.
  3. Set git in cmd:
    git config --global user.email "your mailbox" 
    git config --global user.name "your name" 
    Otherwise, "Please tell me who you are" error will appear.
  4. Next, just follow the operation in the blog. During the commit process, I found that the local commit was successful, but it was not displayed on github. At this point, I deleted the project on github, and then re-uploaded it in android studio.
2. What is the error of "Commit failed with error: XXX did not match any file(s) known to git." when submitting?
If you use the command line to submit, it is usually because the commit message is not enclosed in double quotes. The reason for my error is that the commit message uses Chinese.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326706971&siteId=291194637