*github的使用
注册一个github帐户,
创建新的存储库
在右上角,在你的头像或识别图标边上,点击
然后选择新的存储库。
给存储库命名“ ****”。
写一个简短的描述。
选择:Initialize this repository with a README.
点击:Create repository
下载github在电脑左下方点击然后找到github的bash点击
上传文件方法
第一种
利用下方的代码
第一步骤
$ git config --global user.name " "
第二步骤
$ git config --global user.email " “
第三步骤
$ cd 文件夹
第四步骤
$ git init
第五步骤
$ git add 文件名
第六步骤
$ git commit -m’描述’
第七步骤
$ git branch -M 分支名
第八步骤
$ git remote add origin 储存库的链接
第九步骤
$ git push -u origin 分支名
第二种
1,点击仓库
2,在code里找到add file点击
3,点击upload files
4,点击大空格里的choose your files
5,选择文件
6,滑到最下面,点击commit changes