Changes between Version 1 and Version 2 of WorkingConventions/GitSPJ
- Timestamp:
- 04/27/11 05:41:10 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingConventions/GitSPJ
v1 v2 22 22 }}} 23 23 24 ------------- 25 24 26 == Looking at the current state of affairs == 25 27 26 * `git diff --stat` gives you a one-line-per-file summary of diffs. 27 * `git-merge 28 Show a one-line-per-file summary of diffs between working files and the local repo: 29 {{{ 30 git diff --stat 31 }}} 28 32 33 ------------------ 34 Show the commits that are on branch `my-test` but not on the main trunk: 35 {{{ 36 git log `git merge-base master my-test`..my-test 37 }}} 38 The `git merge-base b1 b2` thing returns the name of the commit that is the common ancestor of branches `b1` and `b2`. 39 40 -------------- 29 41 == `git gui` on Windows == 30 42
