Terminal栏输入: git init 打开GitHub

IDEA使用git

点击上方空白处:alt+`
选择Commit
IDEA使用git

选择推入缓存的文件,注解(干什么的),完成后选择commit
IDEA使用git

下方工作栏:git remote add (缓存名称,随便填) 远程仓库地址(华为云复制)
IDEA使用git

远程仓库地址

IDEA使用git

在上方:alt+`
选择push
IDEA使用git
选择缓存和注解

IDEA使用git

相关文章: