[英]Git hub push of Angular project always uploads default file
我试图将我的 Angular 文件夹推送到我的 Git 存储库,但它总是上传默认文件。 使用 Visual Studio 代码。 Git: https://github.com/Honigeintopf/Learning 我是否必须将所有更改放入阶段更改或更改?
推送有效,但有点像我说的总是上传默认文件。
首先,你的 VSCode 显示暂存文件:你仍然需要在本地进行提交,才能推送任何内容。
其次,您git push
的Ebu
返回:
repository not found 'https://github.com/Honigeintopf/Learning-'
那是因为你的存储库的实际 URL 是https://github.com/Honigeintopf/Learning (没有尾随-
)
改变它:
cd /path/to/repository
git remote set-url Ebu https://github.com/Honigeintopf/Learning
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.