Git提交本地代码到Github

SauronGeSongs 26 0 PDF 2021-02-01 09:02:09

Git提交本地代码到Github //初始化 1 git init //查看更改了哪些文件的代码 2 git status //add 你想要提交的更改的文件 或者 git add . 所有的文件; 3 git add . //把本地仓库暂存区的文件提交到本地仓库 4 git commit -m '提交信息' //设置GitHub账号 5 git config --global user.email 1462070722@qq.com //提交的github仓库地址 6 git remote add origin https://github.com/Swimzxx/java-encr

用户评论
请输入评论内容
评分:
暂无评论