VCS-->Import into version control-->Share Projection on Github

在弹出的对话框中输入相关信息

如果弹出一下错误:

Please tell me who you are. Run git config --global user.email "you@example.com"

........

解决办法:

在Git目录下打开git-base.ext输入以下命令:

git config --global user.email "xxxx@xx.com"//你的邮箱

git config --global user.name "xxx"//你的名字

4. 删掉GitHub上的仓库重来一次就好了