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.
PhpStorm中是否有机会在Git下的两次提交之间导出更改的文件?现在我正在使用Git 控制台命令并立即将更改的文件压缩到存档中。
tar -czvf %FILE_NAME%.tar $(git diff --diff-filter=[ACMRT] --name-only %COMMIT_HASH_0% %COMMIT_HASH_1%)
PS我正在使用PhpStorm 6。在此先感谢。
PhpStorm 中没有这样的功能;最接近的可能是将每个提交保存为补丁(更改工具窗口,日志选项卡,右键单击提交,选择“创建补丁...”)
Git 命令行非常灵活,以至于任何工具供应商都无法为通过命令行可能进行的所有操作提供 GUI。
我有时会出现在我看来很长的网址,例如:
"https://www.google.de/#hl=de&sclient=psy-ab&q=break+long+url+css&oq=break+long+url+&gs_l=serp.1.1.0i30l4.3822.3822.0.5634.1.1.0.0.0.0.85.85.1.1.0.