简体   繁体   English

Github 上的主页?

[英]Main page on Github?

I have 2 questions about GitHub:我有两个关于 GitHub 的问题:

  1. How can I pin the project to the main page on my GitHub ?如何将项目固定到 GitHub 上的主页上?
  2. If I add README.md from my computer to my repo on GitHub, will it be automatically displayed as a README or should I create README directly on GitHub?如果我将README.md从我的计算机添加到我在 GitHub 上的存储库,它会自动显示为README还是我应该直接在 GitHub 上创建README

You can take advantage of the item pinning feature available at your GitHub profile page:您可以利用 GitHub 个人资料页面上提供的项目固定功能

You can pin a public repository if you own the repository or you've made contributions to the repository.如果您拥有该存储库或您已对该存储库做出贡献,则可以固定该公共存储库。
In the " Popular repositories " or " Pinned " section, click Customize your pins .在“ Popular repositories ”或“ Pinned ”部分,点击Customize your pins

https://docs.github.com/assets/images/help/profile/select-items-to-pin.png

You can create a README.md in your local repository, but you will have to add, commit and push it in order to appear as " README.ld " in your remote repository.您可以在本地存储库中创建README.md ,但您必须添加、提交和推送它才能在远程存储库中显示为“ README.ld ”。
See an example in my project VonC/gtarsum .请参阅我的项目VonC/gtarsum

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

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