GitHub Create a Branch

当您创建一个存储库,默认情况下它的一个分支的名字的主人。你可以继续工作这个分支和只有一个,很好。但是如果你有另一个特点或想法你想工作,您可以创建另一个分支,从主人开始,这样你就可以离开主人的工作状态。当你创建一个分支,复制原始的分支是在那个时间点(如照片快照)。如果原始分支变化当你在你的新分支,不用担心,你可以把这些更新。

At GitHub, our developers, writers, and designers use branches for keeping bug fixes and feature work separate from our master (production) branch. When a feature or fix is ready, the branch is merged into master.

To create a new branch

  1. Go to your new repository hello-world.
  2. Click the drop down at the top of the file list that says branch: master.
  3. Type a branch name, readme-edits, into the new branch text box.
  4. Select the blue Create branch box or hit “Enter” on your keyboard.



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值