linux 使用 git The requested URL returned error: 403
来源:互联网 发布:淘宝汉服睡衣店铺推荐 编辑:程序博客网 时间:2024/05/22 06:15
从github上给出的git使用说明上看,流程是这样的:
…or create a new repository on the command line
echo "# Stormcv-web" >> README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/Applepleple/Stormcv-web.gitgit push -u origin master
…or push an existing repository from the command line
git remote add origin https://github.com/Applepleple/Stormcv-web.gitgit push -u origin master
但是发现在使用push时会出现 The requested URL returned error 403,发现以下命令解决问题
git remote set-url origin https://【Your Account】@github.com/Applepleple/Stormcv-web.git
除了上述步骤外,还需要设置自己的账户名和密码
git config --global user.name "Your Name Here"
git config --global user.email "your_email@example.com"
如果需要使用ignore的话,可以在主目录下建一个.gitignore的文件,具体的书写格式这里不再详细介绍啦
添加.gitignore后,用git add \*就可以添加非ignore文件了
如果ignore的文件已经被commit过了,需要
git rm -r –cached .
0 0
- linux 使用 git The requested URL returned error: 403
- git The requested URL returned error:443
- git push报错 The requested URL returned error: 403
- git push 报 The requested URL returned error: 403 错误
- the requested url returned error: 403
- "error: The requested URL returned error: 403 Forbidden while accessing“(git错误)
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- git clone error: The requested URL returned error: 403 Forbidden while accessing.
- 解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing
- Centos下git push提示“error: The requested URL returned error: 403 Forbidden while accessing”
- git错误: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/futu
- vs2015 git push代码的时候出现The requested URL returned error: 403
- fatal: unable to access : The requested URL returned error: 403
- github push代码出现“The requested URL returned error: 403”
- 使用git报错error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 Gateway Time-out
- git报错:error: The requested URL returned error: 403 Forbidden while accessing https://github.com/summ
- git 无法提交报错 - error: The requested URL returned error: 403 Forbidden while accessing https://github.c
- git clone error: The requested URL returned error: 401 Unauthorized while accessing
- TQ210——交叉编译器的安装
- UITextField限制字数
- 设计模式-观察者模式
- hdu 4756
- xUtils3自己努力摸索中(一)
- linux 使用 git The requested URL returned error: 403
- hdu1986 Encoding-字符串(电文加密)
- linux shell 学习之第15章 控制脚本
- 【亲测】mybatis使用注解方式插入数据后获取自增长的主键值
- 206. Reverse Linked List
- 句子的逆序
- POJ 1182 食物链【经典并查集应用】
- shp导入Oracle
- 逆向常用汇编指令