yetone
V2EX  ›  问与答

问一个关于github pages的很水的问题

  •  
  •   yetone · Apr 30, 2012 · 4237 views
    This topic created in 5317 days ago, the information mentioned may be changed or developed.
    建立的一个page。他的url竟然是yetone.github.com/yetone而不是yetone.github.com
    6 replies  •  1970-01-01 08:00:00 +08:00
    mopig
    mopig
    Apr 30, 2012❤️1
    1
    前面的二级域名是你的用户名。

    想要 建立x.github.com 需要建立对应的项目。
    willwen
    willwen
    Apr 30, 2012❤️1
    2
    用yetone.github.com为名新建一个repo,然后在master放文件
    raptium
    raptium
    Apr 30, 2012❤️2
    3
    有两种 pages 的,一种是 user 的 github pages,一种是 repo 的 github pages
    如果你想要 url 是 yetone.github.com 那么你应该建一个名为 yetone.github.com 的 repo

    http://help.github.com/pages/
    lianghai
    lianghai
    Apr 30, 2012
    4
    someone.github.com 是由 someone 的 someone.github.com 这个 repo 生成的。
    someone.github.com/something 是由 someone 的 something 这个 repo 的 gh-pages 这 branch 生成的。
    仔细看帮助文档: http://help.github.com/pages/
    lianghai
    lianghai
    Apr 30, 2012❤️1
    5
    对,someone 当然也可以在 someone.github.com 这个 repo 里建立 /something 目录,然后同样能得到 someone.github.com/something
    yetone
    yetone
    OP
    Apr 30, 2012
    6
    @willwen @raptium @lianghai @mopig 十分感谢!已解决!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1829 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 04:35 · PVG 12:35 · LAX 20:35 · JFK 23:35
    ♥ Do have faith in what you're doing.