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

posted @ 2021-03-16 17:46  ysloong  阅读(55)  评论(0编辑  收藏  举报