[英]Upload file into public repository GitHub
我想将文件上传到公共存储区Github,以便人们可以下载我的源代码...能帮我吗?
谢谢..
确保您已经在机器上安装了git并创建了一个github仓库
打开终端/ cmd
cd /路径/到/图像/目录
按照下面的命令
git init
git add -A
git commit -m "Upload images"
git remote add origin https://github.com/your-git-repo.git
git push -u origin master
来自gihub的图像源示例https://github.com/PenAndPapers/AngularWebPortfolio/blob/master/client/assets/images/header-bg.jpg
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.