Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-01-27. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Managing your tab size rendering preference

You can manage the number of spaces a tab is equal to for your personal account.

If you feel that tabbed indentation in code rendered on GitHub takes up too much, or too little space, you can change this in your settings.

  1. 在 GitHub 任意页面的右上角,单击个人资料照片,然后单击 “设置”****。
  2. In the left sidebar, click Appearance.
  3. Scroll down to "Tab size preference" and use the dropdown menu to choose your preference.