git rebase -i 分支 rebase 某分支
patch补丁:
git diff HEAD~1 HEAD > a.patch
patch -p1 -i grpc.patch
枚举定义类型:
enum ValueType : uint8_t { kPost, kGet, kPut, kInvalid, };
提示
Submodule path 'thrid_party/libcore': checked out 'fb03173ff87d0e10c94ae6129f6cd4e577d4f395' fatal: remote error: upload-pack: not our ref 58d229eccdefabee3d2056ca6f59d2db9a224035 fatal: Fetched in submodule path 'thrid_party/libcore/thrid_party/fmt', but it did not contain 58d229eccdefabee3d2056ca6f59d2db9a224035. Direct fetching of that commit failed. fatal: fatal: Failed to recurse into submodule path 'thrid_party/libcore' 如何解决
git submodule update --recursive --remote