yetone
V2EX  ›  问与答

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

  •  
  •   yetone · Apr 30, 2012 · 3920 views
    This topic created in 5152 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
        1
    mopig  
       Apr 30, 2012   ❤️ 1
    前面的二级域名是你的用户名。

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

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