is there a way to see a diff of entire branch/laye...
# how-do-i
t
is there a way to see a diff of entire branch/layer against its immediate parent? works in raw shell, but not inside
gt aliases
Copy code
git show "$(gt parent)".."$(git branch --show-current)"
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
j
I ussually do a diff against HEAD~1 since graphite ammends the branch into a single commit (I think this is the default)
j
gt info -d
gt info -p
will show each commit separately if there are more than 1
t
Good suggestion Joan, but this is a multi-commit layer 🙂 @Jacob Gold
gt info -d
✅ just what i was looking for