Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从一些特定文件中创建一些差异,丢弃它们的 git 历史记录
那可能吗?
就像是
arc diff -- file1.{h,cpp} file2.{h,cpp}
我知道这听起来可能会适得其反,但我有大量代码,提交不一定包含单个问题/功能。
您不需要使用奥术师,您可以直接将任何旧差异复制/粘贴到差分中。