IDEA创建项目并上传到Github

1 创建Empty Project
2 创建Modules

Import Into Version Control -- Create Git Repository
Git -- Add
Git -- Commit
Import Into Version Control -- Share Project On Github
Git -- push

如果github中没有文件,则
% ssh -T git@github.com 判断是否有权限
shilongyin@shilongdeMacBook-Pro ~ % ssh -T git@github.com
git@github.com: Permission denied (publickey).

% ssh-add "/Users/xxx/.ssh/xxx_ssh_key"
% ssh -T git@github.com
Hi xx! You've successfully authenticated, but GitHub does not provide shell access.

Git -- push

通过知识/经验的分享,节省开发者的时间.
原文地址:https://www.cnblogs.com/ysloong/p/14544894.html