带有新文件的被子补丁 [英] quilt patch with a new file

查看:52
本文介绍了带有新文件的被子补丁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个仅添加一个文件的新被子补丁.不幸的是,该文件似乎被忽略了.

I'm trying to create a new quilt patch with only one file added. Unfortunately the file seems to be ignored.

我做了quilt new some_patchquilt add some_file.然后我可以在 quilt files 中看到该文件,但是当我刷新时,我又回来了:

I did quilt new some_patch and quilt add some_file. I can see the file in quilt files then, but when I refresh, I get back:

Nothing in patch some_patch

弹出 some_patch 后,添加的文件没有被删除,实际上没有任何内容保存到补丁中(没有创建补丁文件).

After I pop some_patch, the added file is not removed and nothing is actually saved into the patch (patch file is not created).

我在这里做错了什么?

推荐答案

您必须先将文件添加到 quilt,然后才能写入.这样被子就可以追踪差异.写完再添加,之后就没有变化了.

You have to add the file to quilt first, before writing it. So that quilt can track the difference. If you add it after writing it, there is no change after that.

这篇关于带有新文件的被子补丁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆