git將當前修改文件生成patch

應用場景: 只想將當前文件夾中改動的文件打包成一個patch,並不想提交相應的代碼 執行命令: git diff nova/api/openstack/compute/servers.py nova/cmd/api.py nova/compute/manager.py nova/conductor/manager.py nova/scheduler/manager.py nova/virt/lib
相關文章
相關標籤/搜索