Last active
November 8, 2019 15:54
-
-
Save liuzxc/b82550d9001c4a7c11f4a8e194161c3f to your computer and use it in GitHub Desktop.
git diff mongoid field change
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff develop --unified=0 -G "\+?field :" |grep "field" | awk '{print $1,$3,$5}' | |
+ :wechat_country, String | |
- :distinct_id, String | |
git diff develop --unified=0 -G "\+?field :" |grep "class" | awk '{print $6}' | |
User |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment