下载


下载完成后会多出 C:\Users\username\AppData\Local\GitHub 文件夹
1 、图形界面上传





2、命令行形式上传
命令行可以是git shell 或者git bash
git config --global user.name "user_nam" #配置用户名
git config --global user.email "email" #配置邮箱
cd D:\study\codeforcesproblem\problem #进入资源目录
git init #生成.git 文件
touch test.txt #命令行生成测试文本
git status #查看文件状态
git add test.txt #跟踪文件并暂存
git commit -m 'frist commit' #设置提交名称
git remote add origin https://github.com/... #添加远程仓库
git push -u origin master #提交到远程仓库
网友评论