github分支创建合并_创建GitHub合并批处理文件

github分支创建合并

Before I start updating my local clone of the MooTools More or Core libraries, I need to update to the most current version on GitHub. Call me lazy, but I'm tired of typing the commands lines into msysgit all the time. I've created a batch file that does the work for me.

在开始更新MooTools More或Core库的本地克隆之前,我需要更新到GitHub上的最新版本。 叫我懒惰,但是我讨厌一直在msysgit中输入命令行。 我已经创建了一个批处理文件来为我工作。

批处理脚本 (The Batch Script)


git fetch git://github.com/mootools/mootools-core.git master:coco
git merge coco


What I'm doing is:

我正在做的是:

  1. Going out to GitHub, grabbing the current "Core", and putting it into a branch called "coco."

    前往GitHub,获取当前的“ Core”,并将其放入名为“ coco”的分支中。
  2. Merging it with my current local copy.

    将其与我当前的本地副本合并。
  3. Pushing it to my GitHub account.

    将其推送到我的GitHub帐户。

I know that's not a lot to type, but this script lets me move things along a tiny bit faster. The "push" updates my repository at GitHub right away too . It's also probably important to mention that my operating system is Windows XP.

我知道键入的内容不多,但是此脚本使我可以更快地移动内容。 “推送”也立即更新了我在GitHub上的存储库 。 可能重要的是要提到我的操作系统是Windows XP。

翻译自: https://davidwalsh.name/github-merge-batch

github分支创建合并

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值