简体   繁体   English

是否可以从 stash 应用单行?

[英]Is it possible to apply single lines from stash?

I'm looking for a way to include specific parts of stashes in stage.我正在寻找一种在舞台上包含特定部分的方法。 I'm using TIG frontend, so the method can involve some low level offset, etc. calculation.我正在使用 TIG 前端,因此该方法可能涉及一些低级偏移等计算。 However currently I don't have any idea of what to compute.但是目前我不知道要计算什么。

Does someone have an idea of how to move single lines from a stash into the stage area?有人知道如何将单行从储藏室移动到舞台区吗?

Try difftool against stash尝试针对 stash 的 difftool

git difftool stash@{0}

This will open a difftool (Kdiff3 in my case) and than you will be able to merge files and select willing lines.这将打开一个 difftool(在我的情况下为 Kdiff3),然后您将能够合并文件并选择愿意的行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM