3 ms·
Actually, @{upstream} has a special meaning, and is a refname for the current branch's upstream. For example: # commits that are on the current branch but no
by Tobu 15y ago
Actually, @{upstream} has a special meaning, and is a refname for the current branch's upstream. For example:
# commits that are on the current branch but not upstream
git log @{upstream}..
# commits that are upstream but not on the current branch
git log ..@{upstream}
# the commit path between the current branch and upstream
# (all commits are exclusive to either branch)
git log ...@{upstream}