2011年3月17日 星期四

diff - show brief

只是要看有哪些檔案不一樣,可以加上 --stat 這個選項
$ git diff 201101270-a2 --stat
這樣就會顯示和 20110127-a2 這個 branch 的差異:
Makefile | 1 +
board/freescale/mx51_bbg/flash_header.S | 24 ++++--
board/freescale/mx51_bbg/lowlevel_init.S | 5 +-
board/freescale/mx51_bbg/mx51_bbg.c | 118 +++++++++++++++++++++++++++---
include/configs/mx51_bbg_android.h | 8 ++-
5 files changed, 132 insertions(+), 24 deletions(-)

沒有留言:

張貼留言