zoukankan      html  css  js  c++  java
  • 例说hg(五)————创建repository

    本文由博主原创,转载请注明出处(保留此处和链接):

    IT人生http://blog.csdn.net/robinblog/article/details/17933747


     

        有很多网站提供了免费的Mercurial版本库托管,最有名的要数Bitbucket 和 Google Code,由于博主使用的是BB,在此以BB为例来说明一下使用Mercurial来创建repository。 在此建议看官注册一个Bitbucket账号(Bitbucket注册)。

        Bitbucket为我们提供了一个很友好的操作面板,当你登录后,就会看到下面的界面:


        点击右边的Create repository或者蓝色部分的Create,就会出现下面面板:


          填写对应信息,完成repository的创建:

          1.填写repos的名称。

          2.对repos的描述。

          3.选择repos的访问权限,如果想私有,就勾选Access Level。

          4.Forking 默认。

          5.Repository type 选择Mercurial,我们这里练习Mercurial的使用

          6.Issue tracking 和 Wiki也勾选吧,以后追踪bug,写说明有用。

          7.选择你工程的语言类型。

          8.点击Create repository 创建我们的工程。(我创建testHg为私有的测试Repos)


     

        点击Clone,获取仓库的克隆地址:



         复制地址到终端,获取刚才创建的repository:

     

    c_wspace$ hg clone https://RobinLau@bitbucket.org/RobinLau/testhghttp authorization required
    realm: Bitbucket.org HTTP
    user: RobinLau
    password: 
    destination directory: testhg
    no changes found
    updating to branch default
    0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    


        到此为止,我们的repository创建成功,只要在其中添加工程就可以了。



  • 相关阅读:
    RQNOJ 34 紧急援救
    Codevs 2080 特殊的质数肋骨
    POJ2975 Nim
    Bzoj1016 最小生成树计数
    POJ3613 Cow Relays
    POJ1386 Play on Words
    [从hzwer神犇那翻到的模拟赛题] 合唱队形
    HDU2824 The Euler function
    HDU1576 A/B
    HDU2669 Romantic
  • 原文地址:https://www.cnblogs.com/fuhaots2009/p/3508618.html
Copyright © 2011-2022 走看看