简体   繁体   English

没有本地存储库的github

[英]github without local repository

I just created an account with github. 我刚刚使用github创建了一个帐户。 Can I upload my project without local repository and without local git commandline and without local github desktop? 我可以在没有本地存储库,本地git命令行和本地github桌面的情况下上传项目吗?

I am looking for something similar to ftp that can directly upload my project into the online repository. 我正在寻找与ftp类似的东西,可以将我的项目直接上传到在线存储库。

Any way to do that? 有什么办法吗?

I'd recommend using git to manage and upload your local files. 我建议使用git来管理和上传您的本地文件。 However, If you really want to you can use the "Upload files" button on github to upload files directly: 但是,如果您确实愿意,可以使用github上的“上传文件”按钮直接上传文件:

在此处输入图片说明

Note: you'll have to have at least one file present in your github repo to see this page. 注意:您必须在github仓库中至少有一个文件才能看到此页面。 If you're creating a project from scratch, and seeing the following page, click the "README" button to create a readme and then you'll have the option of uploading additional files. 如果要从头开始创建项目,并查看下一页,请单击“自述文件”按钮以创建自述文件,然后可以选择上传其他文件。

在此处输入图片说明

Yes? 是? Sort of? 有点? If you create a repository with the default README you can then use the web interface to add, upload, and edit files. 如果使用默认自述文件创建存储库 ,则可以使用Web界面添加,上传和编辑文件。

But I'm not sure why you would do this. 但是我不确定为什么要这么做。 It's not how Github is intended to be used and it will be awkward. 这不是Github打算使用的方式,而且会很尴尬。

Github has a desktop application that help you work with Git. Github有一个桌面应用程序 ,可帮助您使用Git。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM