Git: Difference between revisions
| (3 intermediate revisions by the same user not shown) | |||
| Line 69: | Line 69: | ||
===List all commits between two hashes Ce and Cb=== | ===List all commits between two hashes Ce and Cb=== | ||
* <tt>git rev-list Ce..Cb</tt> | * <tt>git rev-list Ce..Cb</tt> | ||
===Update local list of remote branches=== | |||
* <tt>git remote update origin --prune</tt> | |||
===Change base branch BBase of branch Bbranch to BNewbase=== | |||
* <tt>git rebase --onto BNewbase BBase Bbranch</tt> | |||
===Show changes in commit C, even if it's a merge commit=== | |||
* <tt>git show --diff-merges=on C</tt> | |||
===List remote tags=== | |||
* <tt>git ls-remote --tags remotename</tt> | |||
==See also== | ==See also== | ||