官术网_书友最值得收藏!

  • GitHub Essentials
  • Achilleas Pipinellis
  • 314字
  • 2021-08-05 10:45:38

Using the Wiki and Managing Code Versioning

       In the previous chapter, we explored the main page of a repository and we covered the basics of its issue tracker.

GitHub also provides a wiki-style place to add your project's documentation. You can create as many pages as you like and also grant public access to it so that everyone can edit it.

In addition, when you are the creator of a product and have users that rely on it, you will want it to be as stable as possible. Versioning helps to maintain an achievable goal. GitHub provides the right tools to release versions of your code, which in reality are just snapshots in time. Whenever you believe your project is ready to go out into the wild, whether bugs are fixed or new features are added, you can use the releases feature and deliver versioned tarballs to the world.

After finishing this chapter, you will have learned how to create, edit, and maintain a wiki by providing a home for your documentation that will complement your project.

You will also learn how to create a new release out of an existing branch or tag accompanied with optional release notes. This way, the end user can understand the changes from any previous versions.

This is what we will cover:

  • Using the wiki:
    • Why wikis are a nice place to document your project
    • Creating a new wiki page
    • Deleting a page
    • Introduction to Markdown
    • How to add a sidebar and a footer to your wiki
    • Watching a wiki page's commit history and reverting to a previous state if needed
  • Managing code versioning:
    • Creating a release
    • Editing a release
    • Pushing a tag from the command line
    • Marking as prerelease
    • Making a draft of a release
    • Uploading your own files
  • Tips and tricks:
    • Subscribing to new releases via atom feed
    • Editing the wiki locally
主站蜘蛛池模板: 常山县| 永登县| 荣昌县| 新疆| 吐鲁番市| 巴青县| 台东县| 安溪县| 石泉县| 瑞昌市| 巴彦淖尔市| 夏河县| 巴东县| 江达县| 加查县| 泸州市| 高邑县| 衡南县| 从化市| 揭东县| 封开县| 东阿县| 忻城县| 建平县| 长治县| 饶河县| 辽宁省| 漳州市| 伊金霍洛旗| 德钦县| 织金县| 类乌齐县| 万山特区| 丹巴县| 武陟县| 昌黎县| 鹰潭市| 玛沁县| 大安市| 镇平县| 水城县|